EVENT EGS: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
 
mNo edit summary
Line 1: Line 1:
EVENT_EGS is triggered when any sprite is spawned on the map.  [[onevent]] code for this event is executed by the new sprite during the tick in which it is spawned.  The gamevar [[THISACTOR]] refers to the ID of the sprite that is executing the code.
EVENT_EGS is an [[event]] which is triggered when any sprite is spawned on the map.  [[onevent]] code for this event is executed by the new sprite during the tick in which it is spawned.  The gamevar [[THISACTOR]] refers to the ID of the sprite that is executing the code.
 
[[Category:Events]]

Revision as of 00:14, 29 August 2006

EVENT_EGS is an event which is triggered when any sprite is spawned on the map. onevent code for this event is executed by the new sprite during the tick in which it is spawned. The gamevar THISACTOR refers to the ID of the sprite that is executing the code.