captiveNum unitName

Operand types

unitName: Object

Type of returned value

Description

Checks whether the unit is a captive.
If the unit is a vehicle, its commander is checked instead.

Used In

Arma2

Example

captiveNum player
Search OFPEC COMREF