DSB/Spawnburst

From DmWiki
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.