mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-15 21:29:59 +03:00
0.65
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
dayz_versionNo = getText(configFile >> "CfgMods" >> "DayZ" >> "version");
|
||||
dayz_hiveVersionNo = getNumber(configFile >> "CfgMods" >> "DayZ" >> "hiveVersion");
|
||||
|
||||
_serverVehicleCounter = [];
|
||||
serverVehicleCounter = [];
|
||||
|
||||
if ((count playableUnits == 0) and !isDedicated) then {
|
||||
isSinglePlayer = true;
|
||||
@@ -169,7 +169,7 @@ diag_log "HIVE: Starting";
|
||||
_totalvehicles = _totalvehicles + 1;
|
||||
|
||||
// total each vehicle
|
||||
_serverVehicleCounter set [count _serverVehicleCounter,_type];
|
||||
serverVehicleCounter set [count _serverVehicleCounter,_type];
|
||||
|
||||
};
|
||||
|
||||
@@ -226,13 +226,14 @@ _vehLimit = MaxVehicleLimit - _totalvehicles;
|
||||
diag_log ("HIVE: Spawning # of Vehicles: " + str(_vehLimit));
|
||||
if(_vehLimit > 0) then {
|
||||
for "_x" from 1 to _vehLimit do {
|
||||
_id = [_serverVehicleCounter] spawn spawn_vehicles; // Needs setup
|
||||
_id = [] spawn spawn_vehicles; // Needs setup
|
||||
waitUntil{scriptDone _id};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
// spawn_roadblocks
|
||||
diag_log ("HIVE: Spawning # of Debris: " + str(MaxDynamicDebris));
|
||||
for "_x" from 1 to MaxDynamicDebris do {
|
||||
_id = [] spawn spawn_roadblocks;
|
||||
//waitUntil{scriptDone _id};
|
||||
|
||||
Reference in New Issue
Block a user