Difference between revisions of "EVENT TYPE SPAWN"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (|sourcefile=script.ldf)
(categories)
 
Line 5: Line 5:
 
|from= [[engine]]
 
|from= [[engine]]
 
|to= [[creature]]s, [[placeable]]s, [[trigger]]s, [[AOE]]s,  
 
|to= [[creature]]s, [[placeable]]s, [[trigger]]s, [[AOE]]s,  
 +
|tocategory1=creature
 +
|tocategory2=placeable
 +
|tocategory3=trigger
 +
|tocategory4=AOE
 +
|sortkey=SPAWN
 
|creatordesc= 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]]
 

Latest revision as of 01:16, 12 February 2010

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:
script.ldf
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;
}