SetVehGoalPos( <goalpos> <stopAtGoal> )


Module: Vehicles

Summary:

Set the target position for this vehicle.



Call this on:

a vehicle



Example:

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



Required Args:

  • 1 : <goal position> The goal position


Optional Args

  • 1 : <stop at goal> Whether the vehicle should slow down to stop at the goal position