captive
From Bohemia Interactive Community
| Editors, please check Policy: Scripting Command Page Syntax. |
Click on the images for descriptions
Introduced in
- Game:
- Operation Flashpoint
- Version:
- 1.00
Description
- Description:
- Returns if the given unit is captive. "captive" means that enemies will not shoot at the unit.
Syntax
- Syntax:
- _Boolean = captive Person
- Parameters:
- Person: Object
- Return Value:
- Boolean - true if the unit is captive, false if not
Examples
- Example 1:
?!(captive _general) : _general setCaptive true
Additional Information
- Multiplayer:
- Behaviour unknown.
- See also:
- setCaptive
Notes
Notes
Notes
- Posted on August 3, 2006 - 14:24
- hardrock
- Notes from before the conversion:
Use setCaptive to make a unit captive.

