vehicle_pathfind_to(name, path[, use_navmesh[, stop_at_goal[, force_path[, suppress_errors]]]])

Parameters:
name (string) name of the vehicle
path (string) name of scripted path or navpoint to pathfind through
use_navmesh (boolean, optional) set to true if the car should pathfind using the navmesh, or false if it should pathfind using traffic splines (defaults to false)
stop_at_goal (boolean, optional) set to true if the vehicle should stop upon reaching the final destination (defaults to true)
force_path (boolean, optional) set to true to ignore the current position to support looping (defaults to false)
suppress_errors (boolean, optional) set to true to suppress errors (defaults to false)
 
Returns:
none

Description:
Make a vehicle pathfind through a series of navpoints.
 

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