commander vehicleName

Operand types

vehicleName: Object

Type of returned value

Description

Commander of the vehicle, if vehicle is not a vehicle but is a person, then the person is returned.

Used In

OFP/ArmA

Example

_unit = commander vehicle player
Search OFPEC COMREF