Difference between revisions of "GetLastPerceptionHeard"

From NWN Lexicon
Jump to: navigation, search
m (Description)
 
Line 13: Line 13:
 
====Description====
 
====Description====
  
Use this in an OnPerception script to determine whether the object that was perceived was heard. <br /><br /> Returns TRUE if the last perceived object was heard, otherwise FALSE. <br />
+
Use this in an [[OnPerception |OnPerception script]] to determine whether the current perception event was triggered by a Heard state switching from FALSE to TRUE. <br /><br /> Returns TRUE if the last perceived object was heard by the caller, otherwise FALSE. <br />
  
 
<br /><br />
 
<br /><br />

Latest revision as of 12:43, 1 December 2012



GetLastPerceptionHeard()

Determines if the last perceived object was heard.

Description

Use this in an OnPerception script to determine whether the current perception event was triggered by a Heard state switching from FALSE to TRUE.

Returns TRUE if the last perceived object was heard by the caller, otherwise FALSE.



Version

1.22

See Also



 author: Tom Cassiotis