fov_check(observer, observed)

Parameters:
observer (string) name of the observing human (player or NPC)
observed (string) name of the target character
 
Returns:
(float) square of the distance between the characters if the target is in view, or -1 if not

Description:
Check if a character is within the observation FOV of an human (player or NPC).
 

back to indexSR3 Script Action Documentation
Last updated: Tue, 09 Aug 2011 11:32:15