unit setCaptive status

Operand types

unit: Object
status: Boolean

Type of returned value

Description

Mark unit as captive.
If unit is vehicle, commander is marked.
Captive is neutral to everyone.
Note: This function does not remove unit's weapons.
Note: If you make a unit captive, that unit will still fire on the enemy, but the enemy will not fire back

Used In

OFP/ArmA

Example

soldier1 setCaptive true
Search OFPEC COMREF