captive: Difference between revisions
Jump to navigation
Jump to search
m (moved notes) |
mNo edit summary |
||
Line 30: | Line 30: | ||
<dl class="command_description"> | <dl class="command_description"> | ||
<!-- Note Section BEGIN --> | <!-- Note Section BEGIN --> | ||
<dd class="notedate">Posted on August 3, 2006 - 14:24</dd> | |||
<dt class="note">'''[[User:Hardrock|hardrock]]'''</dt><dd class="note">''Notes from before the conversion:'' | |||
Use [[setCaptive]] to make a unit captive. | Use [[setCaptive]] to make a unit captive. | ||
</dd> | |||
<!-- Note Section END --> | <!-- Note Section END --> | ||
</dl> | </dl> |
Revision as of 15:24, 3 August 2006
Description
- Description:
- Returns if the given unit is captive. "captive" means that enemies will not shoot at the unit.
- Groups:
- Uncategorised
Syntax
- Syntax:
- captive unit
- Parameters:
- unit: 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.