BIS fnc neutralizeUnit: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(+links)
(Page filling)
Line 1: Line 1:
{{Function|= Comments
{{Function|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________
Line 8: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| 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.


Description:
{{Informative|[[allowDamage]] will '''not''' prevent the unit getting killed.}} |= Description
Neutralize an object by intrinsic means
- soldiers are blowed up by mine
- vehicles are shelled by artillery
- air units are hit by AA missile
- underwater units are simply killed
 
Parameter(s):
0: OBJECT
 
Returns:
BOOL
*/
 
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_neutralizeUnit]]; --> |= Syntax
| 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

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