mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
60cab0af6b
* Initial push * disable forgotten define * Improve exitWith check * Requested/suggested changes * Requested changes * Requested changes
31 lines
687 B
Plaintext
31 lines
687 B
Plaintext
#include "script_component.hpp"
|
|
// Author: Garth 'L-H' de Wet
|
|
// Initialises the parachute system.
|
|
|
|
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_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;
|