adds scroll wheel spawning and setting, adds utils for getting cfg
This commit is contained in:
@@ -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;
|
||||
Reference in New Issue
Block a user