EVENT LOADACTOR: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Daedolon (talk | contribs)
m fixed grammar
mNo edit summary
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Works similarly to [[eventloadactor]], but this event code is not read by Eduke32 before it.
{{EventTable|1=EVENT_LOADACTOR|2=-1|3=sprite being loaded|4=0 values}}
'''EVENT_LOADACTOR''' is a [[EDuke32_event_list|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.
 
[[Category:Events]]

Latest revision as of 01: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.