captive: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (VBS2 scripting category removal)
(mass edit: removing obsolete </dt> and </dd> tags)
Line 31: Line 31:
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->


<dd class="notedate">Posted on August 3, 2006 - 14:24</dd>
<dd class="notedate">Posted on August 3, 2006 - 14:24
<dt class="note">'''[[User:Hardrock|hardrock]]'''</dt><dd class="note">''Notes from before the conversion:''
<dt class="note">'''[[User:Hardrock|hardrock]]'''<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 -->

Revision as of 01:37, 18 October 2011

Hover & click on the images for description

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