Jump to navigation Jump to search
Revision as of 00:10, 18 January 2021 by Lou Montana (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...)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
- Handling EH-based helicopter damage, event handler in question being Dammagedsic.
params ["_helicopter", "_selection", "_damage"];
Executed script is:
helicopter execVM "hsim\air_h\data\scripts\main_rotor_destruction.sqf";helicopter rotor status can be found via variable HSim_mainRotorDestroyed:
_isRotorDestroyed = helicopter getVariable ["HSim_mainRotorDestroyed", false];
- [helicopter, selection, damage] call BIS_fnc_helicopterDamage
- 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:
- Boolean - true when done
- See also:
- See also needed