BIS fnc neutralizeUnit: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...)
Line 1: Line 1:
{{Function|Comments=
{{Function


| arma3 |Game name=
| arma3


|1.00|Game version=
|1.00


|gr1 = Object Manipulation |GROUP1=
|gr1 = Object Manipulation


| Neutralize an object by intrinsic means:
| Neutralize an object by intrinsic means:
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.}}


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


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


| [[Boolean]] |RETURNVALUE=
| [[Boolean]]


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


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



Revision as of 00:41, 18 January 2021

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

Bottom Section