ACE3/addons/parachute/XEH_preInit.sqf

31 lines
687 B
Plaintext
Raw Normal View History

#include "script_component.hpp"
// Author: Garth 'L-H' de Wet
// Initialises the parachute system.
ADDON = false;
PREP_RECOMPILE_START;
2016-02-22 14:20:36 +00:00
#include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
2016-02-22 14:20:36 +00:00
[
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)}
2021-02-18 18:58:26 +00:00
] call CBA_fnc_addSetting;
[
QGVAR(failureChance),
"SLIDER",
LSTRING(FailureChance),
["ACE Uncategorized", localize "str_dn_parachute"],
[0, 1, 0, 2, true],
1
] call CBA_fnc_addSetting;
ADDON = true;