Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _roundStartTime = 0;
- while {
- ({side _x == west} count allUnits == 0) ||
- ({side _x == east} count allUnits == 0) ||
- _roundStartTime == 0
- } do {
- while {
- ({side _x == west} count allUnits == 0) ||
- ({side _x == east} count allUnits == 0)
- } do {
- _msg="Waiting for Players...";
- [[_msg,2.5,1.5],"titleTextMsg",true] spawn BIS_fnc_MP;
- sleep 0.1;
- };
- _roundStartTime = time + 65;
- while {
- ({side _x == west} count allUnits > 0) &&
- ({side _x == east} count allUnits > 0) &&
- time < _roundStartTime
- } do {
- {
- if (_roundStartTime-time>_x && _roundStartTime-time<_x+0.19) then
- {
- _msg=format ["Round Start: %1 second(s)...", _x];
- [[_msg,2.5,1.5],"titleTextMsg",true] spawn BIS_fnc_MP;
- };
- } forEach [180, 120, 60, 30, 15, 10, 5, 4, 3, 2, 1];
- sleep 0.1;
- };
- };
- waitUntil {time > _roundStartTime};
Advertisement
Add Comment
Please, Sign In to add comment