EVENT LOADACTOR

From EDukeWiki
Jump to navigation Jump to search
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.