This repository has been archived by the owner on Jul 5, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
-For fairness, added countdown when all teams are ready prior to safestart disabling. -Remove unready action when countdown starts.
- Loading branch information
Showing
2 changed files
with
60 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,42 @@ | ||
while {true} do | ||
{ | ||
waitUntil | ||
{ | ||
(blufor_ready && {opfor_ready} && {indfor_ready}); | ||
}; | ||
[false] call potato_safeStart_fnc_toggleSafeStart; | ||
}; | ||
waitUntil | ||
{ | ||
(blufor_ready && {opfor_ready} && {indfor_ready}); | ||
}; | ||
sleep 2; | ||
if !(isNil "bluPL") then { | ||
bluPL removeAction bluUnready; | ||
} | ||
else {}; | ||
if !(isNil "bluASL") then { | ||
bluASL removeAction bluUnready; | ||
} | ||
else {}; | ||
|
||
if !(isNil "opfPL") then { | ||
opfPL removeAction opfUnready; | ||
} | ||
else {}; | ||
if !(isNil "opfASL") then { | ||
opfASL removeAction opfUnready; | ||
} | ||
else {}; | ||
|
||
if !(isNil "indPL") then { | ||
indPL removeAction indUnready; | ||
} | ||
else {}; | ||
if !(isNil "indASL") then { | ||
indASL removeAction indUnready; | ||
} | ||
else {}; | ||
|
||
["MISSION IS LIVE IN 10 SECONDS","systemChat"] call BIS_fnc_MP; | ||
"MISSION IS LIVE IN 10 SECONDS" remoteExec ["hint", 0]; | ||
sleep 5; | ||
["MISSION IS LIVE IN 5 SECONDS","systemChat"] call BIS_fnc_MP; | ||
"MISSION IS LIVE IN 5 SECONDS" remoteExec ["hint", 0]; | ||
sleep 4; | ||
["MISSION IS LIVE","systemChat"] call BIS_fnc_MP; | ||
hint ""; | ||
|
||
[false] call potato_safeStart_fnc_toggleSafeStart; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters