Difference between revisions of "EVENT TYPE ENTER"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) (split out of event) |
|||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{event | |
− | + | |sourcefile=script.ldf | |
− | + | |when= A creature enters the object receiving the event | |
+ | |from= [[engine]] | ||
+ | |to= [[AOE]]s, [[area]]s, [[trigger]]s | ||
+ | |tocategory1=AOE | ||
+ | |tocategory2=area | ||
+ | |tocategory3=trigger | ||
+ | |sortkey=ENTER | ||
+ | |creatorname= oEnterer | ||
+ | |creatordesc= creature entering the object | ||
+ | }} | ||
− | + | ==Comments== | |
− | + | ||
− | [[ | + | Surprisingly, for a trigger placed at the entry point for an area, this event fires for the trigger before EVENT_TYPE_AREALOAD_PRELOADEXIT. |
+ | |||
+ | Further work is needed to establish when EVENT_TYPE_ENTER for an area fires, relative to the above-mentioned events. | ||
+ | ==See also== | ||
+ | |||
+ | [[EVENT_TYPE_EXIT]] |
Latest revision as of 17:48, 26 October 2010
- 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;
}
Comments
Surprisingly, for a trigger placed at the entry point for an area, this event fires for the trigger before EVENT_TYPE_AREALOAD_PRELOADEXIT.
Further work is needed to establish when EVENT_TYPE_ENTER for an area fires, relative to the above-mentioned events.