Difference between revisions of "EVENT TYPE PERCEPTION DISAPPEAR"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) m (sortkey) |
BryanDerksen (Talk | contribs) m |
||
Line 3: | Line 3: | ||
|when= A creature exits the perception area of creature receiving the event | |when= A creature exits the perception area of creature receiving the event | ||
|from= [[engine]] | |from= [[engine]] | ||
− | | | + | |tocategory1= creature |
+ | |sortkey=PERCEPTION_DISAPPEAR | ||
|creatorname= oViewer | |creatorname= oViewer | ||
|creatordesc= The creature whose perception system detected a disappearing creature. | |creatordesc= The creature whose perception system detected a disappearing creature. |
Revision as of 18:26, 20 August 2009
- Source:
- script.ldf
- Sent when:
- A creature exits the perception area of creature receiving the event
- Sent from:
- engine
- Sent to:
- Parameters:
-
- Creator: The creature whose perception system detected a disappearing creature.
- Object 0: Disappearing creature
Usage
case EVENT_TYPE_PERCEPTION_DISAPPEAR:
{
object oViewer = GetEventCreator(ev); // The creature whose perception system detected a disappearing creature.
object oTarget = GetEventObject(ev, 0); // Disappearing creature
// insert event-handling code here
break;
}
{
object oViewer = GetEventCreator(ev); // The creature whose perception system detected a disappearing creature.
object oTarget = GetEventObject(ev, 0); // Disappearing creature
// insert event-handling code here
break;
}
- Bool 0: Owner is hostile towards disappearing creature
Is "bool 0" integer 0?[Undocumented]