GetLastPerceptionInaudible()

Gets the last perceived object which can no longer be heard.

int GetLastPerceptionInaudible();

Description

Use this in an OnPerception script to determine whether the object that was perceived has become inaudible.



Remarks

May make a great guard script function that lets guards react to listen checks then scratch their heads in confusion when they no longer can hear the PC due to them Successfully Moving Silently.


Version

1.22

See Also

categories: Core AI Functions | Perception Functions


 author: John Shuell