Difference between revisions of "GetLastPerceptionHeard"

From NWN Lexicon
Jump to: navigation, search
(Created page with " =GetLastPerceptionHeard()= Determines if the last perceived object was heard. int  GetLastPerceptionHeard(); ====Description==== Use this in an...")
 
m (Description)
 
(2 intermediate revisions by one other user not shown)
Line 7: Line 7:
 
Determines if the last perceived object was heard.
 
Determines if the last perceived object was heard.
  
[[int | int ]] GetLastPerceptionHeard();
+
<nwscript>
 +
int GetLastPerceptionHeard();
 +
</nwscript>
  
 
====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