BIS fnc neutralizeUnit: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | | arma3 | ||
|1.00 | |1.00 | ||
|gr1 = Object Manipulation | |gr1 = Object Manipulation | ||
| Neutralize an object by intrinsic means: | | Neutralize an object by intrinsic means: | ||
Line 13: | Line 13: | ||
* underwater units are simply killed. | * underwater units are simply killed. | ||
{{Informative|[[allowDamage]] will '''not''' prevent the unit getting killed.}} | {{Informative|[[allowDamage]] will '''not''' prevent the unit getting killed.}} | ||
| object call [[BIS_fnc_neutralizeUnit]] | | object call [[BIS_fnc_neutralizeUnit]] | ||
|p1= object: [[Object]] | |p1= object: [[Object]] | ||
| [[Boolean]] | | [[Boolean]] | ||
|x1= <code>[[cursorTarget]] [[call]] [[BIS_fnc_neutralizeUnit]];</code> | |x1= <code>[[cursorTarget]] [[call]] [[BIS_fnc_neutralizeUnit]];</code> | ||
| [[setDamage]], [[allowDamage]] | | [[setDamage]], [[allowDamage]] | ||
}} | }} | ||
Revision as of 23:41, 17 January 2021
Description
- Description:
- Neutralize an object by intrinsic means:
- soldiers are blown up by mine
- vehicles are shelled by artillery
- air units are hit by AA missile
- underwater units are simply killed.
- Execution:
- call
- Groups:
- Object Manipulation
Syntax
- Syntax:
- object call BIS_fnc_neutralizeUnit
- Parameters:
- object: Object
- Return Value:
- Boolean
Examples
- Example 1:
cursorTarget call BIS_fnc_neutralizeUnit;
Additional Information
- See also:
- setDamageallowDamage
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