Difference between revisions of "EVENT TYPE PERCEPTION DISAPPEAR"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (sort key)
m (remove redundant category)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
*<b>Sent When:</b> A creature exits the perception area of creature receiving the event
+
{{event
*<b>Sent From:</b> engine
+
|sourcefile=script.ldf
*<b>Sent To:</b> creatures
+
|when= A creature exits the perception area of creature receiving the event
 +
|from= [[engine]]
 +
|to=creatures
 +
|tocategory1= creature
 +
|sortkey=PERCEPTION_DISAPPEAR
 +
|creatorname= oViewer
 +
|creatordesc= The creature whose perception system detected a disappearing creature.
 +
|object0name= oTarget
 +
|object0desc= Disappearing creature
 +
|sortkey=PERCEPTION_DISAPPEAR
 +
}}
  
Parameters:
 
*<b>Creator:</b> The creature whose perception system detected a disappearing creature.
 
*<b>Target:</b> Disappearing creature
 
 
*<b>Bool 0:</b> Owner is hostile towards disappearing creature  
 
*<b>Bool 0:</b> Owner is hostile towards disappearing creature  
 
+
Is "bool 0" integer 0?{{undocumented}}
[[Category:Event types|PERCEPTION_DISAPPEAR]]
+

Latest revision as of 00:51, 12 February 2010

Source:
script.ldf
Sent when:
A creature exits the perception area of creature receiving the event
Sent from:
engine
Sent to:
creatures
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;
}
  • Bool 0: Owner is hostile towards disappearing creature

Is "bool 0" integer 0?[Undocumented]