assignedVehicleRole unitName

Operand types

unitName: Object

Type of returned value

Description

Returns the role that a unit is assigned to within its assigned vehicle. The array which is returned can contain:

[] - Not assigned to any vehicle
["Driver"] - Assigned as driver
["Cargo"] - Assigned as cargo
["Turret", [turret path]] - Assigned to a turret

Used In

ArmA

Example

_role = assignedVehicleRole fred
Search OFPEC COMREF