Difference between revisions of "EVENT TYPE ENTER"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(formatting)
m (|sourcefile=script.ldf)
Line 1: Line 1:
 
{{event
 
{{event
 +
|sourcefile=script.ldf
 
|when= A creature enters the object receiving the event
 
|when= A creature enters the object receiving the event
 
|from= [[engine]]
 
|from= [[engine]]

Revision as of 20:40, 30 July 2009

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