GetLastPerceptionVanished
From NWN Lexicon
Jump to navigationJump to search
GetLastPerceptionVanished()
Determines whether the last perceived creature has vanished.
int GetLastPerceptionVanished();
Description
Use this in an OnPerception script to determine whether the current perception event was triggered by a Seen state switching from TRUE to FALSE.
Returns TRUE if the object last perceived has vanished, otherwise FALSE.
Version
1.22
See Also
author: Tom Cassiotis