captive: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{( *)Important( *)\|" to "{{$1Feature$2|$2important$2|")
m (Text replacement - "\| *((\[\[.*\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
Line 23: Line 23:
|x1= <code>[[if]] ([[captive]] _general) [[then]] { [[removeAllWeapons]] _general; };</code>
|x1= <code>[[if]] ([[captive]] _general) [[then]] { [[removeAllWeapons]] _general; };</code>


| [[captiveNum]], [[setCaptive]], [[side]]
|seealso= [[captiveNum]], [[setCaptive]], [[side]]
}}
}}



Revision as of 23:21, 16 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Object ManipulationSides

Syntax

Syntax:
Syntax needed
Parameters:
object: Object - unit or vehicle
Return Value:
Return value needed

Examples

Example 1:
if (captive _general) then { removeAllWeapons _general; };

Additional Information

See also:
captiveNumsetCaptiveside

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