DSB/Spawnburst

From DmWiki
Revision as of 20:18, 16 August 2008 by Gilles (talk | contribs) (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...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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.