Script Events

These are the values of each type of event leading to a script being activated.

They are also used to denote the last number in each script.

 

ID Number Description of Event
0 deactivatestop
1 activate 1push
2 activate 2pull
3 hit
4 picked upget
5 droppeddrop
6 collision
7 enter scope
8 leave scope
9 timer (triggered by TICK timer command)
10 - unused - 
11
12
13
14
15
16 extra quiescentlook
17 extra activate 1push
18 extra activate 2pull
19 extra deactivatestop
20 extra seekcome
21 extra avoidrun
22 extra pickupget
23 extra dropdrop
24 extra say needthink
25 extra restrest
26 extra go westwest
27 extra go easteast
28 - unused - 
29
30
31
32 introductory quiescentlook
33 introductory activate 1push
34introductory activate 2pull
35introductory deactivatestop
36introductory seekcome
37introductory avoidrun
38introductory pickupget
39 introductory dropdrop
40 introductory say needthink
41 introductory restrest
42 introductory go westwest
43 introductory go easteast
44 - unused - 
45
46
47
48
49
50 pointer action 1push
51 pointer action 2pull
52 pointer deactivationstop
53 pointer pick upget
54 pointer dropdrop
55 - unused - 
56
57
58
59
60
61
62
63
64 involuntary action 0 - flinching
65 involuntary action 1 - lay egg
66 involuntary action 2 - sneezing
67 involuntary action 3 - coughing
68involuntary action 4 - shivering
69involuntary action 5 - fall asleep
70involuntary action 6 - languish
71involuntary action 7 - die?
72Creature death script