Difference between revisions of "EVENT TYPE SPAWN"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(formatting)
m (|sourcefile=script.ldf)
Line 1: Line 1:
 
{{needs review}}
 
{{needs review}}
 
{{event
 
{{event
 +
|sourcefile=script.ldf
 
|when= an object spawns into the game. This event can fire only once per game for each object, regardless of save games.
 
|when= an object spawns into the game. This event can fire only once per game for each object, regardless of save games.
 
|from= [[engine]]
 
|from= [[engine]]

Revision as of 20:46, 30 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:
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;
}