mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
d1f0dc5e83
* Update CfgVehicles.hpp * Cargo cleanup * Update menu.hpp * Updated status effect key * Update fnc_onMenuOpen.sqf * Update fnc_onMenuOpen.sqf * fix comment from merge * nil interaction GVARs on menu close * fix carry bug * Fix floating objects in MP * Updated ace_cargoAdded doc * Fix progress bar prematurely stopping * Finer cursor object selection --------- Co-authored-by: LinkIsGrim <salluci.lovi@gmail.com>
39 lines
1.4 KiB
Plaintext
39 lines
1.4 KiB
Plaintext
private _category = [ELSTRING(OptionsMenu,CategoryLogistics), LLSTRING(DisplayName)];
|
|
|
|
[
|
|
QGVAR(enabled), "CHECKBOX",
|
|
ELSTRING(common,Enabled),
|
|
_category,
|
|
true,
|
|
true,
|
|
{[QGVAR(enabled), _this] call EFUNC(common,cbaSettings_settingChanged)},
|
|
true
|
|
] call CBA_fnc_addSetting;
|
|
|
|
[
|
|
QGVAR(level), "LIST",
|
|
[LSTRING(RearmSettings_level_DisplayName), LSTRING(RearmSettings_level_Description)],
|
|
_category,
|
|
[[0,1,2],[LSTRING(RearmSettings_vehicle), LSTRING(RearmSettings_magazine), LSTRING(RearmSettings_caliber)],0], // [values, titles, defaultIndex]
|
|
true, // isGlobal
|
|
{[QGVAR(level), _this] call EFUNC(common,cbaSettings_settingChanged)}
|
|
] call CBA_fnc_addSetting;
|
|
|
|
[
|
|
QGVAR(supply), "LIST",
|
|
[LSTRING(RearmSettings_supply_DisplayName), LSTRING(RearmSettings_supply_Description)],
|
|
_category,
|
|
[[0,1,2],[LSTRING(RearmSettings_unlimited), LSTRING(RearmSettings_limited), LSTRING(RearmSettings_magazineSupply)],0], // [values, titles, defaultIndex]
|
|
true, // isGlobal
|
|
{[QGVAR(supply), _this] call EFUNC(common,cbaSettings_settingChanged)}
|
|
] call CBA_fnc_addSetting;
|
|
|
|
[
|
|
QGVAR(distance), "SLIDER",
|
|
[LLSTRING(RearmSettings_distance_DisplayName), LLSTRING(RearmSettings_distance_Description)],
|
|
_category,
|
|
[10, 50, 20, 0],
|
|
true, // isGlobal
|
|
{[QGVAR(supply), _this] call EFUNC(common,cbaSettings_settingChanged)}
|
|
] call CBA_fnc_addSetting;
|