unitName assignAsCommander vehicleName

Operand types

unitName: Object
vehicleName: Object

Type of returned value

Description

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

Used In

OFP/ArmA

Example

player assignAsCommander tankOne