BIS fnc neutralizeUnit: Difference between revisions
Jump to navigation
Jump to search
(+links) |
Lou Montana (talk | contribs) (Page filling) |
||
Line 1: | Line 1: | ||
{{Function|= Comments | {{Function|= Comments | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 8: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | 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. | |||
{{Informative|[[allowDamage]] will '''not''' prevent the unit getting killed.}} |= Description | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | object call [[BIS_fnc_neutralizeUnit]] |= Syntax | ||
|p1= |= Parameter 1 | |p1= object: [[Object]] |= Parameter 1 | ||
| |= Return value | | [[Boolean]] |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>[[cursorTarget]] [[call]] [[BIS_fnc_neutralizeUnit]]</code> |= | |x1= <code>[[cursorTarget]] [[call]] [[BIS_fnc_neutralizeUnit]];</code> |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| |= See also | | [[setDamage]], [[allowDamage]] |= See also | ||
}} | }} | ||
Revision as of 22:20, 6 May 2018
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