mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-24 09:29:21 +03:00
Remove waitUntil
Mission should be run instancly w/o any sleeps or waitUntil (tip from rocket)
This commit is contained in:
@@ -20,7 +20,7 @@ enableRadio false;
|
||||
// DayZ Epoch config
|
||||
spawnShoremode = 1; // Default = 1 (on shore)
|
||||
spawnArea = 1500; // Default = 1500
|
||||
MaxHeliCrashes= 5; // Default = 5
|
||||
MaxHeliCrashes = 5; // Default = 5
|
||||
MaxVehicleLimit = 200; // Default = 50
|
||||
MaxDynamicDebris = 250; // Default = 100
|
||||
dayz_MapArea = 6000; // Default = 10000
|
||||
@@ -79,18 +79,6 @@ BIS_Effects_startEvent = {
|
||||
(_this select 1) call BIS_Effects_startEvent;
|
||||
};
|
||||
|
||||
if ((!isServer) && (isNull player) ) then
|
||||
{
|
||||
waitUntil {!isNull player};
|
||||
waitUntil {time > 3};
|
||||
};
|
||||
|
||||
if ((!isServer) && (player != player)) then
|
||||
{
|
||||
waitUntil {player == player};
|
||||
waitUntil {time > 3};
|
||||
};
|
||||
|
||||
if (isServer) then {
|
||||
call compile preprocessFileLineNumbers "dynamic_vehicle.sqf"; //Compile vehicle configs
|
||||
|
||||
|
||||
Reference in New Issue
Block a user