BIS fnc neutralizeUnit: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 7: | Line 6: | ||
|gr1 = Object Manipulation |GROUP1= | |gr1 = Object Manipulation |GROUP1= | ||
| Neutralize an object by intrinsic means: | | Neutralize an object by intrinsic means: | ||
Line 16: | Line 14: | ||
{{Informative|[[allowDamage]] will '''not''' prevent the unit getting killed.}} |DESCRIPTION= | {{Informative|[[allowDamage]] will '''not''' prevent the unit getting killed.}} |DESCRIPTION= | ||
| object call [[BIS_fnc_neutralizeUnit]] |SYNTAX= | | object call [[BIS_fnc_neutralizeUnit]] |SYNTAX= | ||
Line 23: | Line 20: | ||
| [[Boolean]] |RETURNVALUE= | | [[Boolean]] |RETURNVALUE= | ||
|x1= <code>[[cursorTarget]] [[call]] [[BIS_fnc_neutralizeUnit]];</code> |EXAMPLE1= | |x1= <code>[[cursorTarget]] [[call]] [[BIS_fnc_neutralizeUnit]];</code> |EXAMPLE1= | ||
| [[setDamage]], [[allowDamage]] |SEEALSO= | | [[setDamage]], [[allowDamage]] |SEEALSO= |
Revision as of 23:25, 16 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