Jump to content
Sign in to follow this  
Mladja-ArmASerbia

Hint when all missions done

Recommended Posts

I made couple of missions to spawn one by one, something like in domination.

But i want when all mission are spawned to get hint that are all mission finished.

Heres my script.

sleep 10;
[EAST,"HQ"] sideChat "Uskoro Misija...";
sleep 4;
[EAST,"HQ"] sideChat "Proveri Mapu...";
hint "Proveri mapu i Zadatke";
sleep 1;

_missions = ["scripts\missions\mission1.sqf","scripts\missions\mission2.sqf","scripts\missions\mission3.sqf"];
_spawn = _missions select (floor(random(count _missions)));
[] execVM _spawn;

if (_missions == 0) exitWith {titleCut ["All Missions are Done. Congratulations.", "PLAIN DOWN", 1]};

Missions spawn random every time, but how to make when they are all spawned to get hint.

Also how to get to spawn only one time, at my script missions are spawned constantly.

Thanks.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×