anden3

Trigger Condition

May 29th, 2017
399
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQF 0.26 KB | None | 0 0
  1. private insideTrigger = { alive _x && isPlayer _x && side _x != sideLogic } count thisList;
  2. private alivePlayers   = { alive _x && side _x != sideLogic } count allPlayers;
  3.  
  4. if (insideTrigger == alivePlayers) then {
  5.     "EveryoneWon" call BIS_fnc_endMissionServer;
  6. };
Advertisement
Add Comment
Please, Sign In to add comment