mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
1cca2db964
Adapted `cbaSettings_settingChanged`
51 lines
1.4 KiB
Plaintext
51 lines
1.4 KiB
Plaintext
[
|
|
QXGVAR(enabled),
|
|
"CHECKBOX",
|
|
[ELSTRING(common,Enabled), LSTRING(EnabledDesc)],
|
|
format ["ACE %1", LLSTRING(Module)],
|
|
false,
|
|
1,
|
|
{[QXGVAR(enabled), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
|
true // Needs mission restart
|
|
] call CBA_fnc_addSetting;
|
|
|
|
[
|
|
QXGVAR(delay),
|
|
"SLIDER",
|
|
[LSTRING(Delay), LSTRING(DelayDesc)],
|
|
format ["ACE %1", LLSTRING(Module)],
|
|
[0, 60, 15, -1],
|
|
1
|
|
] call CBA_fnc_addSetting;
|
|
|
|
[
|
|
QXGVAR(endMission),
|
|
"LIST",
|
|
[LSTRING(EndMission), LSTRING(EndMissionDesc)],
|
|
format ["ACE %1", LLSTRING(Module)],
|
|
[[0, 1, 2], [ELSTRING(Common,Disabled), LSTRING(Instant), LSTRING(Delayed)], 0],
|
|
1,
|
|
{[QXGVAR(endMission), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
|
true // Needs mission restart
|
|
] call CBA_fnc_addSetting;
|
|
|
|
[
|
|
QXGVAR(log),
|
|
"CHECKBOX",
|
|
[LSTRING(Log), LSTRING(LogDesc)],
|
|
format ["ACE %1", LLSTRING(Module)],
|
|
false,
|
|
1
|
|
] call CBA_fnc_addSetting;
|
|
|
|
[
|
|
QXGVAR(transferLoadout),
|
|
"LIST",
|
|
[LSTRING(TransferLoadout), LSTRING(TransferLoadoutDesc)],
|
|
format ["ACE %1", LLSTRING(Module)],
|
|
[[0, 1, 2], [ELSTRING(Common,Disabled), LSTRING(TransferLoadoutCurrent), LSTRING(TransferLoadoutConfig)], 0],
|
|
1,
|
|
{[QXGVAR(transferLoadout), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
|
true // Needs mission restart
|
|
] call CBA_fnc_addSetting;
|