EVENT LOADACTOR: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 2: Line 2:
'''EVENT_LOADACTOR''' is a [[EDuke32_event_list|game event]].  
'''EVENT_LOADACTOR''' is a [[EDuke32_event_list|game event]].  


This event works similarly to [[EVENT_EGS]], but is only triggered when actors are loaded. It is processed directly after a sprite's [[eventloadactor]] definition, but does not depend on said definition being present.
This event works similarly to [[EVENT_EGS]], but is only triggered when actors (not sprites in general) are loaded.
 
It is processed directly after a sprite's [[eventloadactor]] definition, but does not depend on said definition being present.


This event runs once per sprite in the map at load time. It is intended to supersede the old [[eventloadactor]] definitions.
This event runs once per sprite in the map at load time. It is intended to supersede the old [[eventloadactor]] definitions.


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

Latest revision as of 00:03, 5 February 2022

Event ID player# THISACTOR RETURN
EVENT_LOADACTOR -1 sprite being loaded 0 values

EVENT_LOADACTOR is a game event.

This event works similarly to EVENT_EGS, but is only triggered when actors (not sprites in general) are loaded.

It is processed directly after a sprite's eventloadactor definition, but does not depend on said definition being present.

This event runs once per sprite in the map at load time. It is intended to supersede the old eventloadactor definitions.