1,584
edits
DrinkyBird (talk | contribs) (New arg for spawned event) Tag: Source edit |
DrinkyBird (talk | contribs) m (word) Tag: Source edit |
||
Line 28: | Line 28: | ||
;GAMEEVENT_ACTOR_SPAWNED 10 | ;GAMEEVENT_ACTOR_SPAWNED 10 | ||
:When an non-player actor is spawned. Strictly speaking, this occurs just before the actor's first tic. The activator is the actor that spawned. | :When an non-player actor is spawned. Strictly speaking, this occurs just before the actor's first tic. The activator is the actor that spawned. | ||
:{{Devfeature|3.2|alpha}}: <tt>arg1</tt> is a boolean which is true the actor was spawned by the level. | :{{Devfeature|3.2|alpha}}: <tt>arg1</tt> is a boolean which is true if the actor was spawned by the level. | ||
;GAMEEVENT_ACTOR_DAMAGED 11 | ;GAMEEVENT_ACTOR_DAMAGED 11 | ||
:When an actor is just about to take damage, after all damage modifications are applied. The activator is the actor taking damage, <tt>arg1</tt> is the amount of damage received, and <tt>arg2</tt> is a dynamic ACS string containing the damage type. | :When an actor is just about to take damage, after all damage modifications are applied. The activator is the actor taking damage, <tt>arg1</tt> is the amount of damage received, and <tt>arg2</tt> is a dynamic ACS string containing the damage type. |