EVENT PREGAME
EVENT_PREGAME is a game event.
This event 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.
All sprites are processed in the following fashion:
- EVENT_PREGAME
- hardcoded stuff
- EVENT_GAME
One potential use specifically for EVENT_PREGAME is to examine struct values which are clobbered by commands such as ifhitweapon/ifwasweapon. Otherwise, EVENT_GAME is generally sufficient.