adds scroll wheel spawning and setting, adds utils for getting cfg

This commit is contained in:
2024-02-03 22:37:44 -08:00
parent 7ef48ecaa2
commit 94ccf0d80d
9 changed files with 225 additions and 2 deletions

View File

@@ -0,0 +1,22 @@
[
"milsim_resupply_setting_allowSupplyBoxScrollWheelSpawning", // variable
"CHECKBOX", // type
["Enabled", "If true, adds scroll wheel options to arsenal boxes to spawn supply boxes"], // title
["17th Battalion", "Resupply"], // category
false, // default value
true, // global setting
{
params ["_value"];
[
"resupply",
"SETTING CHANGED",
[
[
"setting",
"milsim_resupply_setting_allowSupplyBoxScrollWheelSpawning"
],
["newValue", _value]
]
] call milsim_fnc_log;
}
] call CBA_fnc_addSetting;