ACE3/addons/parachute/XEH_preInit.sqf
commy2 0e3aeb8767 add setting to hide freefall altimeter, ref #5596 (#5836)
* add setting to hide freefall altimeter, ref #5596

* warning for changed mid mission
2017-12-02 11:02:32 -06:00

35 lines
607 B
Plaintext

/*
* Author: Garth 'L-H' de Wet
* Initialises the parachute system.
*
* Arguments:
* None
*
* Return Value:
* None
*
* Example:
* None
*
* Public: No
*/
#include "script_component.hpp"
ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
[
QGVAR(hideAltimeter),
"CHECKBOX",
[LSTRING(HideAltimeter), LSTRING(HideAltimeter_tooltip)],
format ["ACE %1", localize ELSTRING(common,DisplayName)],
true,
false,
{[QGVAR(hideAltimeter), _this, false] call EFUNC(common,cbaSettings_settingChanged)}
] call cba_settings_fnc_init;
ADDON = true;