vehicle setVelocity [x, y, z]

Operand types

vehicle: Object
[x, y, z]: Array

Type of returned value

Description

Set velocity (speed vector) of vehicle.
Note: This command will not work for man-type units (soldiers, officers, etc) if they are touching the ground.

Used In

OFP/ArmA

Example

truck1 setvelocity [20, 0, 0]
Search OFPEC COMREF