2023-12-11 17:05:22 +00:00
|
|
|
private _category = [ELSTRING(main,Category_Logistics), LLSTRING(DisplayName)];
|
2023-07-28 09:47:23 +00:00
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(enabled), "CHECKBOX",
|
|
|
|
ELSTRING(common,Enabled),
|
|
|
|
_category,
|
|
|
|
true,
|
|
|
|
true,
|
|
|
|
{[QGVAR(enabled), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
2024-06-20 05:04:34 +00:00
|
|
|
true // Needs mission restart
|
2023-07-28 09:47:23 +00:00
|
|
|
] call CBA_fnc_addSetting;
|
|
|
|
|
2018-07-05 16:29:32 +00:00
|
|
|
[
|
|
|
|
QGVAR(level), "LIST",
|
|
|
|
[LSTRING(RearmSettings_level_DisplayName), LSTRING(RearmSettings_level_Description)],
|
2023-07-28 09:47:23 +00:00
|
|
|
_category,
|
2018-07-05 16:29:32 +00:00
|
|
|
[[0,1,2],[LSTRING(RearmSettings_vehicle), LSTRING(RearmSettings_magazine), LSTRING(RearmSettings_caliber)],0], // [values, titles, defaultIndex]
|
2024-06-20 05:04:34 +00:00
|
|
|
true // isGlobal
|
2021-02-18 18:58:26 +00:00
|
|
|
] call CBA_fnc_addSetting;
|
2018-07-05 16:29:32 +00:00
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(supply), "LIST",
|
|
|
|
[LSTRING(RearmSettings_supply_DisplayName), LSTRING(RearmSettings_supply_Description)],
|
2023-07-28 09:47:23 +00:00
|
|
|
_category,
|
2018-07-05 16:29:32 +00:00
|
|
|
[[0,1,2],[LSTRING(RearmSettings_unlimited), LSTRING(RearmSettings_limited), LSTRING(RearmSettings_magazineSupply)],0], // [values, titles, defaultIndex]
|
2024-06-20 05:04:34 +00:00
|
|
|
true // isGlobal
|
2021-02-18 18:58:26 +00:00
|
|
|
] call CBA_fnc_addSetting;
|
2019-09-04 00:06:50 +00:00
|
|
|
|
|
|
|
[
|
|
|
|
QGVAR(distance), "SLIDER",
|
2023-07-28 09:47:23 +00:00
|
|
|
[LLSTRING(RearmSettings_distance_DisplayName), LLSTRING(RearmSettings_distance_Description)],
|
|
|
|
_category,
|
2019-09-04 00:06:50 +00:00
|
|
|
[10, 50, 20, 0],
|
2024-06-20 05:04:34 +00:00
|
|
|
true // isGlobal
|
2021-02-18 18:58:26 +00:00
|
|
|
] call CBA_fnc_addSetting;
|