navpoint_in_player_fov(navpoint_name[, player_name[, radius]]) | ||
Parameters: | ||
navpoint_name | (string) name of the navpoint | |
player_name | (string, optional) name of the player (defaults to "#PLAYER1#") | |
radius | (float, optional) radius of the sphere (defaults to 1.25) | |
Returns: | ||
none | ||
Description: | ||
Check to see if a sphere positioned above a navpoint is in the player's field of view. By default, the sphere is approximately human-sized. This function can be used to see if teleporting an npc to a navpoint will cause popping or if a hidden vehicle at a location can be safely shown. | ||
back to index | SR3 Script Action Documentation Last updated: Tue, 09 Aug 2011 11:32:15 |