GetLastPerceptionHeard
From NWN Lexicon
Jump to navigationJump to search
GetLastPerceptionHeard()
Determines if the last perceived object was heard.
int GetLastPerceptionHeard();
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