Difference between revisions of "EVENT TYPE ENTER"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(split out of event)
 
(formatting)
Line 1: Line 1:
*<b>Sent When:</b> A creature enters the object receiving the event
+
{{event
*<b>Sent From:</b> engine
+
|when= A creature enters the object receiving the event
*<b>Sent To:</b> AOEs, areas, triggers
+
|from= [[engine]]
 
+
|to= [[AOE]]s, [[area]]s, [[trigger]]s
Parameters:
+
|creatorname= oEnterer
*<b>Creator:</b> creature entering the object
+
|creatordesc= creature entering the object
 +
}}
  
 
[[Category:Event types|ENTER]]
 
[[Category:Event types|ENTER]]

Revision as of 17:44, 24 July 2009

Source:
[Undocumented]
Sent when:
A creature enters the object receiving the event
Sent from:
engine
Sent to:
AOEs, areas, triggers
Parameters:
  • Creator: creature entering the object

Usage

case EVENT_TYPE_ENTER:
{
object oEnterer = GetEventCreator(ev); // creature entering the object

// insert event-handling code here

break;
}