BIS fnc helicopterDamage: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_this" to "_this")
m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ")
Line 5: Line 5:
|1.00
|1.00


|gr1 = Helicopters
|gr1= Helicopters


| Handling EH-based helicopter damage, event handler in question being [[Arma_3:_Event_Handlers#Dammaged|Da''mm''aged]]{{sic}}.  
| Handling EH-based helicopter damage, event handler in question being [[Arma_3:_Event_Handlers#Dammaged|Da''mm''aged]]{{sic}}.  

Revision as of 13:38, 11 April 2021

Hover & click on the images for description

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