BIS fnc neutralizeUnit: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(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.}} |= Description
{{Informative|[[allowDamage]] will '''not''' prevent the unit getting killed.}} |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| object call [[BIS_fnc_neutralizeUnit]] |= Syntax
| object call [[BIS_fnc_neutralizeUnit]] |SYNTAX=


|p1= object: [[Object]] |= Parameter 1
|p1= object: [[Object]] |PARAMETER1=


| [[Boolean]] |= Return value
| [[Boolean]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code>[[cursorTarget]] [[call]] [[BIS_fnc_neutralizeUnit]];</code> |= Example 1
|x1= <code>[[cursorTarget]] [[call]] [[BIS_fnc_neutralizeUnit]];</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[setDamage]], [[allowDamage]] |= See also
| [[setDamage]], [[allowDamage]] |SEEALSO=
}}
}}



Revision as of 15:32, 7 April 2019

Hover & click on the images for description

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.
allowDamage will not prevent the unit getting 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

Notes

Bottom Section