captive: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[[cC]ategory:[sS]cripting [cC]ommands\|[a-z A-Z 0-9_]+\]\]" to "") |
Lou Montana (talk | contribs) m (Text replacement - "\{\{( *)Important( *)\|" to "{{$1Feature$2|$2important$2|") |
||
Line 12: | Line 12: | ||
| Returns the captive state of the given unit (set with [[setCaptive]]). A captive unit will not be attacked by its enemies. | | Returns the captive state of the given unit (set with [[setCaptive]]). A captive unit will not be attacked by its enemies. | ||
{{ | {{Feature|important| | ||
While a captive unit won't be attacked, it will still attack its enemies – be sure to [[setBehaviour]] "CARELESS" / [[removeAllWeapons]] accordingly.}} | While a captive unit won't be attacked, it will still attack its enemies – be sure to [[setBehaviour]] "CARELESS" / [[removeAllWeapons]] accordingly.}} | ||
Revision as of 02:06, 7 February 2021
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:
- See also needed
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