Jump to content
Scarat

Trigger Conditions for MP Player

Recommended Posts

Hey guys,
i wanna make a little mp mission.
I have 8 playable slots (no one is requested). I want to teleport the available players to the next mission after each side mission.

But i dont know the conditions for my trigger. I cant use "p1 inArea trigger1 and p2 inArea trigger1" because i dont know how many slots are used. Maybe we have only 4 players or only 6....but all players should enter the trigger and activate the trigger.

Sry for my english 😄 I hope you know what i mean...
 

thx

Share this post


Link to post
Share on other sites
16 minutes ago, sarogahtyp said:

including dead players:


allPlayers findIf {!(_x inArea trigger1)} isEqualTo -1;

 

dead players excluded:


playableUnits findIf {!(_x inArea trigger1)} isEqualTo -1

 

Thank you ! It works!

  • Like 1

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

×