captive: Difference between revisions
Jump to navigation
Jump to search
(mass edit: removing obsolete </dt> and </dd> tags) |
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
||
Line 49: | Line 49: | ||
[[Category:Command_Group:_Object_Information|{{uc:{{PAGENAME}}}}]] | [[Category:Command_Group:_Object_Information|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] |
Revision as of 10:53, 2 November 2011
Description
- Description:
- Returns if the given unit is captive. "captive" means that enemies will not shoot at the unit.
- Groups:
- Uncategorised
Syntax
- Syntax:
- Boolean = captive object
- Parameters:
- object: Object
- Return Value:
- Boolean - true if the unit is captive, false if not
Examples
- Example 1:
?!(captive _general) : _general setCaptive true
Additional Information
- See also:
- setCaptive
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
Notes
- Posted on August 3, 2006 - 14:24
- hardrock
- Notes from before the conversion: Use setCaptive to make a unit captive.
Bottom Section
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- Scripting Commands ArmA
- Command Group: Object Information
- Scripting Commands ArmA2
- Scripting Commands Take On Helicopters