mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
Add delay at group startup
This commit is contained in:
@@ -5,7 +5,7 @@ class ItemRadio : ItemCore
|
|||||||
class Groups
|
class Groups
|
||||||
{
|
{
|
||||||
text = $STR_EPOCH_GROUPS_KEY;
|
text = $STR_EPOCH_GROUPS_KEY;
|
||||||
script = "spawn dayz_openGroupDialog;";
|
script = "if (!isNil 'dayz_groupInit') then {[] spawn dayz_openGroupDialog;};";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@@ -1,5 +1,6 @@
|
|||||||
private ["_leader","_oldGroup"];
|
private ["_leader","_oldGroup"];
|
||||||
|
|
||||||
|
uiSleep 1;
|
||||||
if (count (units group player) > 1) then {
|
if (count (units group player) > 1) then {
|
||||||
[player] joinSilent grpNull;
|
[player] joinSilent grpNull;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ while {true} do {
|
|||||||
if ((!isNil "Dayz_loginCompleted") and {(Dayz_loginCompleted)}) exitWith {
|
if ((!isNil "Dayz_loginCompleted") and {(Dayz_loginCompleted)}) exitWith {
|
||||||
//diag_log [ __FILE__, __LINE__, "End loop"];
|
//diag_log [ __FILE__, __LINE__, "End loop"];
|
||||||
dayz_playerName = if (alive player) then {name player} else {"unknown"};
|
dayz_playerName = if (alive player) then {name player} else {"unknown"};
|
||||||
if (dayz_groupSystem) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\groups\init.sqf";};
|
if (dayz_groupSystem) then {execVM "\z\addons\dayz_code\groups\init.sqf";};
|
||||||
};
|
};
|
||||||
_display = uiNameSpace getVariable "BIS_loadingScreen";
|
_display = uiNameSpace getVariable "BIS_loadingScreen";
|
||||||
if ((!isNil "_display") and {(dayz_loadScreenMsg != "" )}) then {
|
if ((!isNil "_display") and {(dayz_loadScreenMsg != "" )}) then {
|
||||||
|
|||||||
Reference in New Issue
Block a user