unitName assignAsDriver vehicleName

Operand types

unitName: Object
vehicleName: Object

Type of returned value

Description

Assign soldier as driver of given vehicle.
You should use the command orderGetIn to make the unit get in the assigned vehicle.

Used In

OFP/ArmA

Example

player assignAsDriver tankOne