EVENT PREWORLD: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
This event is triggered once per tic, even if there is nothing in the map.  
This event is triggered once per tic, even if there is nothing in the map.  


The code is executed before the [[actor]]s code.
This event is executed before the [[useractor]] code.


It is identical to [[EVENT_PREGAME]], with the only difference being that it only runs once per tic with no current player or current actor set. [[EVENT_PREGAME]] on the other hand runs once per tic for each sprite in the map.
It is identical to [[EVENT_PREGAME]], with the only difference being that it only runs once per tic with no current player or current actor set.
 
[[EVENT_PREGAME]] on the other hand runs once per tic for each sprite in the map.


[[Category:Events]]
[[Category:Events]]

Latest revision as of 08:26, 5 February 2022

Event ID player# THISACTOR RETURN
EVENT_PREWORLD -1 -1 0 values

EVENT_PREWORLD is a Game Event. This event is triggered once per tic, even if there is nothing in the map.

This event is executed before the useractor code.

It is identical to EVENT_PREGAME, with the only difference being that it only runs once per tic with no current player or current actor set.

EVENT_PREGAME on the other hand runs once per tic for each sprite in the map.