Difference between revisions of "DSB/Spawnburst"

From DmWiki
Jump to navigationJump to search
(New page: During a spawnburst, the <b>on_trigger</b> event (Events and System Functions documentation) of a newly spawned instance is put into a queue, rather tha...)
 
(No difference)

Latest revision as of 20:18, 16 August 2008

During a spawnburst, the on_trigger event (Events and System Functions documentation) of a newly spawned instance is put into a queue, rather than being immediately executed. This will prevent oddities when a trigger whose exvars have not yet been defined has an instance spawned on top of it that should trigger it. If you prefer to spawn all instances first and then go back and define your exvars, as opposed to defining exvars immediately after a dsb_spawn, you should use these functions. Otherwise, they are generally only useful in automatically generated dungeon files.