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

@@ -9,6 +9,17 @@ if (!isServer) then {
}] call CBA_fnc_addEventHandler;
};
// 5 seconds after the client is loaded, add the resupply action to all arsenal boxes
[
{time > 5},
{
if (missionNamespace getVariable [
"milsim_resupply_setting_allowSupplyBoxScrollWheelSpawning",
false
]) then {call milsim_resupply_fnc_addSpawnBoxActions}
}
] call CBA_fnc_waitUntilAndExecute;
["InitializePlayer", [player, true]] call BIS_fnc_dynamicGroups;
nil;