2019-12-12 21:31:51 +00:00
|
|
|
private _category = [format ["ACE %1", LLSTRING(Module_DisplayName)]];
|
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(enabled), "CHECKBOX",
|
|
|
|
[LSTRING(enabled_DisplayName), LSTRING(enabled_Description)],
|
|
|
|
_category,
|
|
|
|
true, // default value
|
|
|
|
true, // isGlobal
|
|
|
|
{[QGVAR(enabled), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
|
|
|
true // Needs mission restart
|
2021-02-18 18:58:26 +00:00
|
|
|
] call CBA_fnc_addSetting;
|
2019-12-12 21:31:51 +00:00
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(updateInterval), "SLIDER",
|
|
|
|
[LSTRING(updateInterval_DisplayName), LSTRING(updateInterval_Description)],
|
|
|
|
_category,
|
|
|
|
[0,300,60,0], // [min, max, default value, trailing decimals (-1 for whole numbers only)]
|
|
|
|
true, // isGlobal
|
|
|
|
{[QGVAR(updateInterval), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
|
|
|
true // Needs mission restart
|
2021-02-18 18:58:26 +00:00
|
|
|
] call CBA_fnc_addSetting;
|
2019-12-12 21:31:51 +00:00
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(windSimulation), "CHECKBOX",
|
|
|
|
[LSTRING(windSimulation_DisplayName), LSTRING(windSimulation_Description)],
|
|
|
|
_category,
|
|
|
|
true, // default value
|
|
|
|
true, // isGlobal
|
|
|
|
{[QGVAR(windSimulation), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
|
|
|
true // Needs mission restart
|
2021-02-18 18:58:26 +00:00
|
|
|
] call CBA_fnc_addSetting;
|
2019-12-12 21:31:51 +00:00
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(showCheckAirTemperature), "CHECKBOX",
|
2019-12-28 15:58:52 +00:00
|
|
|
[LSTRING(showCheckAirTemperature_DisplayName), LELSTRING(common,showActionInSelfInteraction)],
|
2019-12-12 21:31:51 +00:00
|
|
|
_category,
|
2024-06-20 05:04:34 +00:00
|
|
|
true // default value
|
2021-02-18 18:58:26 +00:00
|
|
|
] call CBA_fnc_addSetting;
|