captive: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (=) |
||
Line 12: | Line 12: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''captive''' unit |= Syntax | | _[[Boolean]] <nowiki>=</nowiki> '''captive''' unit |= Syntax | ||
|p1= unit: [[Object]] |= Parameter 1 | |p1= unit: [[Object]] |= Parameter 1 |
Revision as of 03:57, 25 August 2007
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 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.