EVENT WORLD: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
EVENT_WORLD is a [[EDuke32_event_list|Game Event]].
{{EventTable|1=EVENT_WORLD|2=-1|3=-1|4=0 values}}
'''EVENT_WORLD''' 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', prior to calling [[EVENT_GAME]] on each actor.
This event is executed '''after''' the [[useractor]] code.
 
It is identical to [[EVENT_GAME]], with the only difference being that it only runs once per tic with no current player or current actor set.
 
[[EVENT_GAME]] on the other hand runs once per tic for each sprite in the map.
 
[[Category:Events]]

Latest revision as of 08:26, 5 February 2022

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

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

This event is executed after the useractor code.

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

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