Difference between revisions of "EVENT TYPE PERCEPTION APPEAR"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(splitting out of event)
 
(sort key)
Line 10: Line 10:
 
* int nHostilityChanged = GetEventInteger(ev, 2); // if the creature was already perceived but just changed hostility (TRUE/FALSE)
 
* int nHostilityChanged = GetEventInteger(ev, 2); // if the creature was already perceived but just changed hostility (TRUE/FALSE)
  
[[Category:Event types]]
+
[[Category:Event types|PERCEPTION_APPEAR]]

Revision as of 17:01, 20 July 2009

  • Sent When: A creature enters the perception area of creature receiving the event
  • Sent From: engine
  • Sent To: creatures

Parameters:

  • object oAppear = GetEventObject(ev,0);
  • int nHostile = GetEventInteger(ev, 0); // if hostile or not (TRUE/FALSE)
  • int bStealthed = GetEventInteger(ev, 1); // if stealthed or not (TRUE/FALSE)
  • int nHostilityChanged = GetEventInteger(ev, 2); // if the creature was already perceived but just changed hostility (TRUE/FALSE)