BIS fnc neutralizeUnit: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= ([^ ]+)(\]\]|\}\}), *(\[\[|\{\{)" to "|seealso= $1$2 $3")
m (Text replacement - "{{Feature|Informative|" to "{{Feature|informative|")
 
Line 12: Line 12:
*  underwater units are simply killed.
*  underwater units are simply killed.


{{Feature|Informative|[[allowDamage]] will '''not''' prevent the unit getting killed.}}
{{Feature|informative|[[allowDamage]] will '''not''' prevent the unit getting killed.}}


|s1= object call [[BIS_fnc_neutralizeUnit]]
|s1= object call [[BIS_fnc_neutralizeUnit]]

Latest revision as of 01:24, 2 February 2024

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:
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:
setDamage allowDamage

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