Difference between revisions of "EVENT TYPE ENTER"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) m (|sourcefile=script.ldf) |
BryanDerksen (Talk | contribs) (update template) |
||
Line 4: | Line 4: | ||
|from= [[engine]] | |from= [[engine]] | ||
|to= [[AOE]]s, [[area]]s, [[trigger]]s | |to= [[AOE]]s, [[area]]s, [[trigger]]s | ||
+ | |tocategory1=AOE | ||
+ | |tocategory2=area | ||
+ | |tocategory3=trigger | ||
+ | |sortkey=ENTER | ||
|creatorname= oEnterer | |creatorname= oEnterer | ||
|creatordesc= creature entering the object | |creatordesc= creature entering the object | ||
}} | }} | ||
− | |||
− |
Revision as of 17:00, 6 August 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;
}
{
object oEnterer = GetEventCreator(ev); // creature entering the object
// insert event-handling code here
break;
}