2015-02-02 20:52:08 +00:00
|
|
|
#include "script_component.hpp"
|
2018-09-17 19:19:29 +00:00
|
|
|
// Author: Garth 'L-H' de Wet
|
|
|
|
// Initialises the parachute system.
|
2015-02-02 20:52:08 +00:00
|
|
|
|
|
|
|
ADDON = false;
|
|
|
|
|
2016-11-23 19:35:25 +00:00
|
|
|
PREP_RECOMPILE_START;
|
2016-02-22 14:20:36 +00:00
|
|
|
#include "XEH_PREP.hpp"
|
2016-11-23 19:35:25 +00:00
|
|
|
PREP_RECOMPILE_END;
|
2016-02-22 14:20:36 +00:00
|
|
|
|
2017-12-02 17:02:32 +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;
|
2017-12-02 17:02:32 +00:00
|
|
|
|
2021-05-01 03:48:02 +00:00
|
|
|
[
|
|
|
|
QGVAR(failureChance),
|
|
|
|
"SLIDER",
|
|
|
|
LSTRING(FailureChance),
|
|
|
|
["ACE Uncategorized", localize "str_dn_parachute"],
|
|
|
|
[0, 1, 0, 2, true],
|
|
|
|
1
|
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
2015-02-02 20:52:08 +00:00
|
|
|
ADDON = true;
|