EVENT PREWORLD: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Fox (talk | contribs)
Created page with "'''EVENT_PREWORLD''' is a Game Event. This event is triggered once per tic, even if there's nothing in the map. The code is executed before the actor..."
 
mNo edit summary
Line 1: Line 1:
{{EventTable|1=EVENT_PREWORLD|2=-1|3=-1|4=0 values}}
'''EVENT_PREWORLD''' is a [[EDuke32_event_list|Game Event]].
'''EVENT_PREWORLD''' is a [[EDuke32_event_list|Game Event]].
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's nothing in the map. The code is executed before the [[actor]]s code.
The code is executed before the [[actor]]s code.


Compare with [[EVENT_PREGAME]], which runs for each actor.
It is identical to [[EVENT_PREGAME]], with the only difference being that it only runs once per tic, while [[EVENT_PREGAME]] runs once per tic for each sprite in the map.
 
[[Category:Events]]

Revision as of 09:23, 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.

The code is executed before the actors code.

It is identical to EVENT_PREGAME, with the only difference being that it only runs once per tic, while EVENT_PREGAME runs once per tic for each sprite in the map.