EVENT GAME: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
 
mNo edit summary
Line 1: Line 1:
[[onevent]] code for EVENT_GAME is executed every tick by every actor in the game.  The gamevar [[THISACTOR]] refers to the ID of the actor executing the code.  Thus, it takes the value of each actor in the game.
EVENT_GAME is an [[event]] that is triggered once per tic per sprite in the game.  The gamevar [[THISACTOR]] refers to the ID of the actor executing the code.  Thus, it takes the value of each actor in the game.
 
[[Category:Events]]

Revision as of 01:15, 29 August 2006

EVENT_GAME is an event that is triggered once per tic per sprite in the game. The gamevar THISACTOR refers to the ID of the actor executing the code. Thus, it takes the value of each actor in the game.