BIS fnc neutralizeUnit: Difference between revisions
Jump to navigation
Jump to search
(+links) |
Lou Montana (talk | contribs) m (Text replacement - "{{Feature|Informative|" to "{{Feature|informative|") |
||
(26 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=function | |||
|game1= arma3 | |||
|version1= 1.00 | |||
| | |gr1= Object Manipulation | ||
| | |descr= 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. | |||
| | {{Feature|informative|[[allowDamage]] will '''not''' prevent the unit getting killed.}} | ||
|s1= object call [[BIS_fnc_neutralizeUnit]] | |||
|p1= object: [[Object]] | |||
|r1= [[Boolean]] | |||
|x1= <sqf>cursorTarget call BIS_fnc_neutralizeUnit;</sqf> | |||
|x1= < | |||
|seealso= [[setDamage]] [[allowDamage]] | |||
}} | }} | ||
Latest revision as of 00:24, 2 February 2024
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:
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