vehicle_turret_base_to(name, path[, stop_at_goal]) | ||
Parameters: | ||
name | (string) name of the vehicle | |
path | (string) name of scripted_path to follow or navpoint to go to | |
stop_at_goal | (boolean, optional) set to true if the vehicle should stop upon reaching the final destination (defaults to true) | |
Returns: | ||
none | ||
Description: | ||
Make a vehicle use turret mode to move along a path or to a navpoint. A driver must be added to the car before calling vehicle_turret_base_to(). If the vehicle does not start on a rail, it will transition to rail and continue pathing from that position. Example: vehicle_turret_base_to("car", "heli_path 001", true) Sets "car" driving to navp1, and then on to navp2, stopping at goal. | ||
back to index | SR3 Script Action Documentation Last updated: Tue, 09 Aug 2011 11:32:15 |