Black Ops III

SetVehGoalPos

Set the target position for this vehicle. Returns true if it can find a path. If it fails to find a path the vehicle will be stopped.

Example:

tank SetVehGoalPos( (0, 0, 0), 1 )

Parameters

ParameterSummary
*goalposThe goal position
[stopAtGoal]Whether the vehicle should slow down to stop at the goal position
[usepath]set to 1 to use pathfinding

* = mandatory