Page tree
Skip to end of metadata
Go to start of metadata

Introduced in

Version:1.00

Description

Description:Checks if the given unit is captive (enemies do not fire at a captive unit).

Syntax

Syntax:captive unit
Parameters:
Return Value:Boolean - Returns true, if the unit is captive, otherwise false.

Examples

Examples:
if !(captive _general) then {_general setCaptive true}

Additional Information

See also: setCaptive
Multiplayer: 
Problems: 

Notes