Difference between revisions of "EVENT TYPE SPAWN"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(split out of event)
 
(formatting)
Line 1: Line 1:
*<b>Sent When:</b> an object spawns into the game. This event can fire only once per game for each object, regardless of save games.
+
{{needs review}}
*<b>Sent From:</b> engine
+
{{event
*<b>Sent To:</b> creatures, placeables, triggers, AOEs,  
+
|when= an object spawns into the game. This event can fire only once per game for each object, regardless of save games.
 
+
|from= [[engine]]
Parameters:
+
|to= [[creature]]s, [[placeable]]s, [[trigger]]s, [[AOE]]s,  
*<b>Creator:</b> ??? -> should probably be parent of object spawning (area. module etc')
+
|creatordesc= should probably be parent of object spawning (area. module etc')
 +
}}
  
 
[[Category:Event types|SPAWN]]
 
[[Category:Event types|SPAWN]]

Revision as of 21:04, 24 July 2009

The documentation on this page is incomplete, obsolete, or otherwise in need of a thorough review. The current content may provide a good starting point for this, but do not rely on its accuracy when using it to design content.

Source:
[Undocumented]
Sent when:
an object spawns into the game. This event can fire only once per game for each object, regardless of save games.
Sent from:
engine
Sent to:
creatures, placeables, triggers, AOEs,
Parameters:
  • Creator: should probably be parent of object spawning (area. module etc')

Usage

case EVENT_TYPE_SPAWN:
{

// insert event-handling code here

break;
}