BIS fnc neutralizeUnit: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) (Page filling) |
m (template:command argument fix) |
||
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.}} |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| object call [[BIS_fnc_neutralizeUnit]] |= | | object call [[BIS_fnc_neutralizeUnit]] |SYNTAX= | ||
|p1= object: [[Object]] |= | |p1= object: [[Object]] |PARAMETER1= | ||
| [[Boolean]] |= | | [[Boolean]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>[[cursorTarget]] [[call]] [[BIS_fnc_neutralizeUnit]];</code> |= | |x1= <code>[[cursorTarget]] [[call]] [[BIS_fnc_neutralizeUnit]];</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[setDamage]], [[allowDamage]] |= | | [[setDamage]], [[allowDamage]] |SEEALSO= | ||
}} | }} | ||
Revision as of 14:32, 7 April 2019
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:
- Uncategorised
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