captive

From Bohemia Interactive Community

Jump to: navigation, search
Editors, please check Policy: Scripting Command Page Syntax.
Introduced in Operation Flashpoint version 1.00Arguments of this scripting command don't have to be local to the client the command is executed on

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

+ Add Note

Only post proven facts here. Use the talk page or the forums for discussions.

Notes

Posted on August 3, 2006 - 14:24
hardrock
Notes from before the conversion:

Use setCaptive to make a unit captive.

Bottom Section

Personal tools
Buy ArmA now!