EVENT SPAWN: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
mNo edit summary
Fox (talk | contribs)
No edit summary
Line 1: Line 1:
EVENT_SPAWN is a [[EDuke32_event_list|Game Event]].
EVENT_SPAWN is a [[EDuke32_event_list|Game Event]].


This [[event]] is triggered when any sprite appear on the map, this is, both due to the [[spawn]] (similar to [[EVENT_EGS]]) command on whenever the actor was already part of the map (similar to [[EVENT_LOADACTOR]] but later in the process). This is useful to modify an enemy as it works for both cases.
This [[event]] is triggered when the attributes of actor are defined by the game. It applies to most sprite appear on the map (projectiles excluded), this is, both due to the [[spawn]] (similar to [[EVENT_EGS]]) command on whenever the actor was already part of the map (similar to [[EVENT_LOADACTOR]] but later in the process). This is useful to modify an enemy as it works for both cases.


This event occur after [[EVENT_EGS]] or [[eventloadactor]].
Chronologically, this event is triggered after [[EVENT_EGS]] or [[eventloadactor]].

Revision as of 04:47, 19 September 2014

EVENT_SPAWN is a Game Event.

This event is triggered when the attributes of actor are defined by the game. It applies to most sprite appear on the map (projectiles excluded), this is, both due to the spawn (similar to EVENT_EGS) command on whenever the actor was already part of the map (similar to EVENT_LOADACTOR but later in the process). This is useful to modify an enemy as it works for both cases.

Chronologically, this event is triggered after EVENT_EGS or eventloadactor.