function GetLastPerceived ()
Use this in an OnPerception script to get the object that was perceived.
- Returns OBJECT_INVALID if the caller is not a valid creature.
- Return type: object
- Include file: nwscriptdefn
function GetLastPerceived ()
Use this in an OnPerception script to get the object that was perceived.