BIS fnc helicopterDamage: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Function " to "{{RV|type=function ") |
Lou Montana (talk | contribs) m (Text replacement - " " to " ") |
||
Line 26: | Line 26: | ||
|x1= <code>myHelicopter [[addEventHandler]] ["Dammaged", { [[_this]] [[call]] [[BIS_fnc_helicopterDamage]]; }];</code> | |x1= <code>myHelicopter [[addEventHandler]] ["Dammaged", { [[_this]] [[call]] [[BIS_fnc_helicopterDamage]]; }];</code> | ||
}} | }} | ||
Revision as of 22:10, 31 January 2021
Description
- Description:
- Description needed
- Execution:
- call
- Groups:
- Helicopters
Syntax
- Syntax:
- Syntax needed
- Parameters:
- helicopter: Object
- selection: String - name of the helicopter selection receiving damage. Must be "main rotor"
- damage: Number - selection's damage. Will only trigger effects if damage > 0.999
- Return Value:
- Return value needed
Examples
- Example 1:
myHelicopter addEventHandler ["Dammaged", { _this call BIS_fnc_helicopterDamage; }];
Additional Information
- See also:
- See also needed
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