mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
464ab0cefb
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com> Co-authored-by: PabstMirror <pabstmirror@gmail.com> Co-authored-by: jonpas <jonpas33@gmail.com>
40 lines
1.3 KiB
Plaintext
40 lines
1.3 KiB
Plaintext
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
|
|
] call CBA_fnc_addSetting;
|
|
|
|
[
|
|
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
|
|
] call CBA_fnc_addSetting;
|
|
|
|
[
|
|
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
|
|
] call CBA_fnc_addSetting;
|
|
|
|
[
|
|
QGVAR(showCheckAirTemperature), "CHECKBOX",
|
|
[LSTRING(showCheckAirTemperature_DisplayName), LELSTRING(common,showActionInSelfInteraction)],
|
|
_category,
|
|
true, // default value
|
|
false // isGlobal
|
|
] call CBA_fnc_addSetting;
|