captive
Revision as of 01:34, 31 August 2019 by Lou Montana (talk | contribs) (Text replacement - "|= Comments" to "|Comments=")
Hover & click on the images for descriptions
Description
- Description:
- Returns the captive state of the given unit (set with setCaptive). A captive unit will not be attacked by its enemies.
Syntax
- Syntax:
- captive object
- Parameters:
- object: Object - unit or vehicle
- Return Value:
- Boolean - true if the unit is captive, false if not
Examples
- Example 1:
-
if (captive _general) then { removeAllWeapons _general; };
Additional Information
- See also:
- captiveNumsetCaptiveside
- Groups:
- Uncategorised
Notes
Notes
Bottom Section
Categories:
- Pages using duplicate arguments in template calls
- Scripting Commands
- Operation Flashpoint: Scripting Commands
- Operation Flashpoint: Resistance: Scripting Commands
- Command Group: Uncategorised
- Introduced with Operation Flashpoint version 1.00
- Commands utilizing global arguments
- Scripting Commands OFP 1.99
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- Scripting Commands ArmA
- Command Group: Object Information
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters