mirror of
https://github.com/Defent/DMS_Exile.git
synced 2024-08-30 16:52:12 +00:00
Fixed.
This commit is contained in:
parent
45fcc4ed05
commit
15bf4fe41e
@ -27,7 +27,9 @@ sleep 2;
|
|||||||
//[(_pos),(5),(4)] call DMS_SpawnAI;
|
//[(_pos),(5),(4)] call DMS_SpawnAI;
|
||||||
[(_pos),(5),(4)] call DMS_DMS_SpawnAI;
|
[(_pos),(5),(4)] call DMS_DMS_SpawnAI;
|
||||||
|
|
||||||
waitUntil{{isPlayer _x && _x distance _pos < 30 } count playableUnits > 0};
|
waitUntil{sleep 25; {isPlayer _x && _x distance _pos < 30 } count playableUnits > 0};
|
||||||
|
|
||||||
|
uiSleep 1;
|
||||||
/*
|
/*
|
||||||
|
|
||||||
[_pos] call MissionCompleted;
|
[_pos] call MissionCompleted;
|
||||||
|
@ -34,7 +34,9 @@ sleep 2;
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
waitUntil{{isPlayer _x && _x distance _pos < 30 } count playableUnits > 0};
|
waitUntil{sleep 25; {isPlayer _x && _x distance _pos < 30 } count playableUnits > 0};
|
||||||
|
|
||||||
|
uiSleep 1;
|
||||||
|
|
||||||
["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast;
|
["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast;
|
||||||
|
|
||||||
|
@ -33,7 +33,9 @@ sleep 2;
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
waitUntil{{isPlayer _x && _x distance _pos < 30 } count playableUnits > 0};
|
waitUntil{sleep 25; {isPlayer _x && _x distance _pos < 30 } count playableUnits > 0};
|
||||||
|
|
||||||
|
uiSleep 1;
|
||||||
|
|
||||||
["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast;
|
["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast;
|
||||||
|
|
||||||
|
@ -31,7 +31,9 @@ sleep 2;
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
waitUntil{{isPlayer _x && _x distance _pos < 30 } count playableUnits > 0};
|
waitUntil{sleep 25; {isPlayer _x && _x distance _pos < 30 } count playableUnits > 0};
|
||||||
|
|
||||||
|
uiSleep 1;
|
||||||
|
|
||||||
["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast;
|
["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast;
|
||||||
|
|
||||||
|
@ -33,7 +33,9 @@ sleep 2;
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
waitUntil{{isPlayer _x && _x distance _pos < 30 } count playableUnits > 0};
|
waitUntil{sleep 25; {isPlayer _x && _x distance _pos < 30 } count playableUnits > 0};
|
||||||
|
|
||||||
|
uiSleep 1;
|
||||||
|
|
||||||
["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast;
|
["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast;
|
||||||
|
|
||||||
|
@ -35,7 +35,9 @@ sleep 2;
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
waitUntil{{isPlayer _x && _x distance _pos < 30 } count playableUnits > 0};
|
waitUntil{sleep 25; {isPlayer _x && _x distance _pos < 30 } count playableUnits > 0};
|
||||||
|
|
||||||
|
uiSleep 1;
|
||||||
|
|
||||||
|
|
||||||
["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast;
|
["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast;
|
||||||
|
@ -33,7 +33,9 @@ sleep 2;
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
waitUntil{{isPlayer _x && _x distance _pos < 30 } count playableUnits > 0};
|
waitUntil{sleep 25; {isPlayer _x && _x distance _pos < 30 } count playableUnits > 0};
|
||||||
|
|
||||||
|
uiSleep 1;
|
||||||
|
|
||||||
|
|
||||||
["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast;
|
["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast;
|
||||||
|
@ -34,7 +34,9 @@ sleep 2;
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
waitUntil{{isPlayer _x && _x distance _pos < 30 } count playableUnits > 0};
|
waitUntil{sleep 25; {isPlayer _x && _x distance _pos < 30 } count playableUnits > 0};
|
||||||
|
|
||||||
|
uiSleep 1;
|
||||||
|
|
||||||
["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast;
|
["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast;
|
||||||
|
|
||||||
|
@ -35,7 +35,9 @@ sleep 2;
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
waitUntil{{isPlayer _x && _x distance _pos < 30 } count playableUnits > 0};
|
waitUntil{sleep 25; {isPlayer _x && _x distance _pos < 30 } count playableUnits > 0};
|
||||||
|
|
||||||
|
uiSleep 1;
|
||||||
|
|
||||||
["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast;
|
["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast;
|
||||||
|
|
||||||
|
@ -33,7 +33,9 @@ sleep 2;
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
waitUntil{{isPlayer _x && _x distance _pos < 30 } count playableUnits > 0};
|
waitUntil{sleep 25; {isPlayer _x && _x distance _pos < 30 } count playableUnits > 0};
|
||||||
|
|
||||||
|
uiSleep 1;
|
||||||
|
|
||||||
["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast;
|
["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast;
|
||||||
|
|
||||||
|
@ -1,22 +1,19 @@
|
|||||||
|
private ["_pos","_centerPos","_fetchPos"];
|
||||||
|
|
||||||
if(isServer) then {
|
//_centerPos = [getMarkerPos "center",4000,20000,10,0,25,0];
|
||||||
private ["_pos","_centerPos","_fetchPos"];
|
_centerPos = [getMarkerPos "center",2000,4000,10,0,25,0];
|
||||||
|
|
||||||
//_centerPos = [getMarkerPos "center",4000,20000,10,0,25,0];
|
_fetchPos = false;
|
||||||
_centerPos = [getMarkerPos "center",2000,4000,10,0,25,0];
|
|
||||||
|
|
||||||
_fetchPos = false;
|
_int = 1;
|
||||||
|
|
||||||
_int = 1;
|
while {!_fetchPos} do {
|
||||||
|
|
||||||
|
sleep 2;
|
||||||
|
|
||||||
while {!_fetchPos} do {
|
_pos = _centerPos call BIS_fnc_findSafePos;
|
||||||
|
_int = _int + 1;
|
||||||
sleep 2;
|
_fetchPos = true;
|
||||||
|
|
||||||
_pos = _centerPos call BIS_fnc_findSafePos;
|
|
||||||
_int = _int + 1;
|
|
||||||
_fetchPos = true;
|
|
||||||
|
|
||||||
if (_fetchPos) then {
|
if (_fetchPos) then {
|
||||||
diag_log format ["DMS :: Found valid position at: (%1) in (%2) tries!",_pos,_int];
|
diag_log format ["DMS :: Found valid position at: (%1) in (%2) tries!",_pos,_int];
|
||||||
@ -26,8 +23,5 @@ if(isServer) then {
|
|||||||
|
|
||||||
// water if exception to be added above
|
// water if exception to be added above
|
||||||
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
_pos
|
||||||
|
|
||||||
|
|
@ -18,10 +18,11 @@
|
|||||||
_slct = floor (random _countArray);
|
_slct = floor (random _countArray);
|
||||||
_missVar = _MainArray select _slct;
|
_missVar = _MainArray select _slct;
|
||||||
|
|
||||||
|
uiSleep 2;
|
||||||
// Help from secret skype group.
|
// Help from secret skype group.
|
||||||
call compile preprocessfilelinenumbers format["\x\addons\DMS\missions\%1.sqf",_missVar];
|
call compile preprocessfilelinenumbers format["\x\addons\DMS\missions\%1.sqf",_missVar];
|
||||||
|
|
||||||
uiSleep 2;
|
|
||||||
|
|
||||||
//DMS_MissionRunning = 1;
|
//DMS_MissionRunning = 1;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user