adds scroll wheel spawning and setting, adds utils for getting cfg
This commit is contained in:
22
functions/resupply/fn_addCBASettings.sqf
Normal file
22
functions/resupply/fn_addCBASettings.sqf
Normal 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;
|
||||
Reference in New Issue
Block a user