Jump to content
Sign in to follow this  
Dr_Cox1911

Check if all Players are in trigger?

Recommended Posts

Greetings,

how can I check if all the selected players (MP) are in a triggerarea? Hope that you guys understand what I want:confused:

Share this post


Link to post
Share on other sites

I have multiple groups with playable units and before the mission starts everyone can pick a unit, we always disable AI so the none-selected units are not in the game. That´s what I meant.

Share this post


Link to post
Share on other sites

Something like this (in the trigger condition) should do the trick:

({isPlayer _x} count thisList) >= (playersNumber west)

or this alternately:

({isPlayer _x} count thisList) >= count playableUnits

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  

×