mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-22 03:16:27 +03:00
Remove waitUntil
Mission should be run instancly w/o any sleeps or waitUntil (tip from rocket)
This commit is contained in:
@@ -79,18 +79,6 @@ BIS_Effects_startEvent = {
|
|||||||
(_this select 1) call 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 {
|
if (isServer) then {
|
||||||
call compile preprocessFileLineNumbers "dynamic_vehicle.sqf"; //Compile vehicle configs
|
call compile preprocessFileLineNumbers "dynamic_vehicle.sqf"; //Compile vehicle configs
|
||||||
|
|
||||||
|
|||||||
@@ -79,18 +79,6 @@ BIS_Effects_startEvent = {
|
|||||||
(_this select 1) call 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 {
|
if (isServer) then {
|
||||||
call compile preprocessFileLineNumbers "dynamic_vehicle.sqf"; //Compile vehicle configs
|
call compile preprocessFileLineNumbers "dynamic_vehicle.sqf"; //Compile vehicle configs
|
||||||
|
|
||||||
|
|||||||
@@ -79,18 +79,6 @@ BIS_Effects_startEvent = {
|
|||||||
(_this select 1) call 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 {
|
if (isServer) then {
|
||||||
call compile preprocessFileLineNumbers "dynamic_vehicle.sqf"; //Compile vehicle configs
|
call compile preprocessFileLineNumbers "dynamic_vehicle.sqf"; //Compile vehicle configs
|
||||||
|
|
||||||
|
|||||||
@@ -79,18 +79,6 @@ BIS_Effects_startEvent = {
|
|||||||
(_this select 1) call 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 {
|
if (isServer) then {
|
||||||
call compile preprocessFileLineNumbers "dynamic_vehicle.sqf"; //Compile vehicle configs
|
call compile preprocessFileLineNumbers "dynamic_vehicle.sqf"; //Compile vehicle configs
|
||||||
|
|
||||||
|
|||||||
@@ -85,18 +85,6 @@ BIS_Effects_startEvent = {
|
|||||||
(_this select 1) call 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 {
|
if (isServer) then {
|
||||||
call compile preprocessFileLineNumbers "dynamic_vehicle.sqf"; //Compile vehicle configs
|
call compile preprocessFileLineNumbers "dynamic_vehicle.sqf"; //Compile vehicle configs
|
||||||
|
|
||||||
|
|||||||
@@ -81,18 +81,6 @@ BIS_Effects_startEvent = {
|
|||||||
(_this select 1) call 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 {
|
if (isServer) then {
|
||||||
call compile preprocessFileLineNumbers "dynamic_vehicle.sqf"; //Compile vehicle configs
|
call compile preprocessFileLineNumbers "dynamic_vehicle.sqf"; //Compile vehicle configs
|
||||||
|
|
||||||
|
|||||||
@@ -52,18 +52,6 @@ progressLoadingScreen 1.0;
|
|||||||
|
|
||||||
"filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4]; setToneMapping "Filmic";
|
"filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4]; setToneMapping "Filmic";
|
||||||
|
|
||||||
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 {
|
if (isServer) then {
|
||||||
call compile preprocessFileLineNumbers "dynamic_vehicle.sqf"; //Compile vehicle configs
|
call compile preprocessFileLineNumbers "dynamic_vehicle.sqf"; //Compile vehicle configs
|
||||||
|
|
||||||
|
|||||||
@@ -79,18 +79,6 @@ BIS_Effects_startEvent = {
|
|||||||
(_this select 1) call 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 {
|
if (isServer) then {
|
||||||
call compile preprocessFileLineNumbers "dynamic_vehicle.sqf"; //Compile vehicle configs
|
call compile preprocessFileLineNumbers "dynamic_vehicle.sqf"; //Compile vehicle configs
|
||||||
|
|
||||||
|
|||||||
@@ -50,18 +50,6 @@ progressLoadingScreen 1.0;
|
|||||||
|
|
||||||
"filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4]; setToneMapping "Filmic";
|
"filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4]; setToneMapping "Filmic";
|
||||||
|
|
||||||
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 {
|
if (isServer) then {
|
||||||
call compile preprocessFileLineNumbers "dynamic_vehicle.sqf"; //Compile vehicle configs
|
call compile preprocessFileLineNumbers "dynamic_vehicle.sqf"; //Compile vehicle configs
|
||||||
|
|
||||||
|
|||||||
@@ -78,18 +78,6 @@ BIS_Effects_startEvent = {
|
|||||||
(_this select 1) call 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 {
|
if (isServer) then {
|
||||||
call compile preprocessFileLineNumbers "dynamic_vehicle.sqf"; //Compile vehicle configs
|
call compile preprocessFileLineNumbers "dynamic_vehicle.sqf"; //Compile vehicle configs
|
||||||
|
|
||||||
|
|||||||
@@ -79,18 +79,6 @@ BIS_Effects_startEvent = {
|
|||||||
(_this select 1) call 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 {
|
if (isServer) then {
|
||||||
call compile preprocessFileLineNumbers "dynamic_vehicle.sqf"; //Compile vehicle configs
|
call compile preprocessFileLineNumbers "dynamic_vehicle.sqf"; //Compile vehicle configs
|
||||||
|
|
||||||
|
|||||||
@@ -79,18 +79,6 @@ BIS_Effects_startEvent = {
|
|||||||
(_this select 1) call 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 {
|
if (isServer) then {
|
||||||
call compile preprocessFileLineNumbers "dynamic_vehicle.sqf"; //Compile vehicle configs
|
call compile preprocessFileLineNumbers "dynamic_vehicle.sqf"; //Compile vehicle configs
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ enableRadio false;
|
|||||||
// DayZ Epoch config
|
// DayZ Epoch config
|
||||||
spawnShoremode = 1; // Default = 1 (on shore)
|
spawnShoremode = 1; // Default = 1 (on shore)
|
||||||
spawnArea = 1500; // Default = 1500
|
spawnArea = 1500; // Default = 1500
|
||||||
MaxHeliCrashes= 5; // Default = 5
|
MaxHeliCrashes = 5; // Default = 5
|
||||||
MaxVehicleLimit = 200; // Default = 50
|
MaxVehicleLimit = 200; // Default = 50
|
||||||
MaxDynamicDebris = 250; // Default = 100
|
MaxDynamicDebris = 250; // Default = 100
|
||||||
dayz_MapArea = 6000; // Default = 10000
|
dayz_MapArea = 6000; // Default = 10000
|
||||||
@@ -79,18 +79,6 @@ BIS_Effects_startEvent = {
|
|||||||
(_this select 1) call 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 {
|
if (isServer) then {
|
||||||
call compile preprocessFileLineNumbers "dynamic_vehicle.sqf"; //Compile vehicle configs
|
call compile preprocessFileLineNumbers "dynamic_vehicle.sqf"; //Compile vehicle configs
|
||||||
|
|
||||||
|
|||||||
@@ -79,18 +79,6 @@ BIS_Effects_startEvent = {
|
|||||||
(_this select 1) call 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 {
|
if (isServer) then {
|
||||||
call compile preprocessFileLineNumbers "dynamic_vehicle.sqf"; //Compile vehicle configs
|
call compile preprocessFileLineNumbers "dynamic_vehicle.sqf"; //Compile vehicle configs
|
||||||
|
|
||||||
|
|||||||
@@ -79,18 +79,6 @@ BIS_Effects_startEvent = {
|
|||||||
(_this select 1) call 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 {
|
if (isServer) then {
|
||||||
call compile preprocessFileLineNumbers "dynamic_vehicle.sqf"; //Compile vehicle configs
|
call compile preprocessFileLineNumbers "dynamic_vehicle.sqf"; //Compile vehicle configs
|
||||||
|
|
||||||
|
|||||||
@@ -79,18 +79,6 @@ BIS_Effects_startEvent = {
|
|||||||
(_this select 1) call 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 {
|
if (isServer) then {
|
||||||
call compile preprocessFileLineNumbers "dynamic_vehicle.sqf"; //Compile vehicle configs
|
call compile preprocessFileLineNumbers "dynamic_vehicle.sqf"; //Compile vehicle configs
|
||||||
|
|
||||||
|
|||||||
@@ -80,18 +80,6 @@ BIS_Effects_startEvent = {
|
|||||||
(_this select 1) call 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 {
|
if (isServer) then {
|
||||||
call compile preprocessFileLineNumbers "dynamic_vehicle.sqf"; //Compile vehicle configs
|
call compile preprocessFileLineNumbers "dynamic_vehicle.sqf"; //Compile vehicle configs
|
||||||
|
|
||||||
|
|||||||
@@ -80,18 +80,6 @@ BIS_Effects_startEvent = {
|
|||||||
(_this select 1) call 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 {
|
if (isServer) then {
|
||||||
call compile preprocessFileLineNumbers "dynamic_vehicle.sqf"; //Compile vehicle configs
|
call compile preprocessFileLineNumbers "dynamic_vehicle.sqf"; //Compile vehicle configs
|
||||||
|
|
||||||
|
|||||||
@@ -79,18 +79,6 @@ BIS_Effects_startEvent = {
|
|||||||
(_this select 1) call 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 {
|
if (isServer) then {
|
||||||
call compile preprocessFileLineNumbers "dynamic_vehicle.sqf"; //Compile vehicle configs
|
call compile preprocessFileLineNumbers "dynamic_vehicle.sqf"; //Compile vehicle configs
|
||||||
|
|
||||||
|
|||||||
@@ -79,18 +79,6 @@ BIS_Effects_startEvent = {
|
|||||||
(_this select 1) call 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 {
|
if (isServer) then {
|
||||||
call compile preprocessFileLineNumbers "dynamic_vehicle.sqf"; //Compile vehicle configs
|
call compile preprocessFileLineNumbers "dynamic_vehicle.sqf"; //Compile vehicle configs
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ enableRadio false;
|
|||||||
// DayZ Epochconfig
|
// DayZ Epochconfig
|
||||||
spawnShoremode = 0; // Default = 1 (on shore)
|
spawnShoremode = 0; // Default = 1 (on shore)
|
||||||
spawnArea= 500; // Default = 1500
|
spawnArea= 500; // Default = 1500
|
||||||
MaxHeliCrashes= 3; // Default = 5
|
MaxHeliCrashes = 3; // Default = 5
|
||||||
MaxVehicleLimit = 50; // Default = 50
|
MaxVehicleLimit = 50; // Default = 50
|
||||||
MaxDynamicDebris = 100; // Default = 100
|
MaxDynamicDebris = 100; // Default = 100
|
||||||
dayz_MapArea = 4000; // Default = 10000
|
dayz_MapArea = 4000; // Default = 10000
|
||||||
@@ -51,18 +51,6 @@ progressLoadingScreen 1.0;
|
|||||||
|
|
||||||
"filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4]; setToneMapping "Filmic";
|
"filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4]; setToneMapping "Filmic";
|
||||||
|
|
||||||
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 {
|
if (isServer) then {
|
||||||
call compile preprocessFileLineNumbers "dynamic_vehicle.sqf"; //Compile vehicle configs
|
call compile preprocessFileLineNumbers "dynamic_vehicle.sqf"; //Compile vehicle configs
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user