Hi everyone. This is an old thread but I think if my question is solved, it could be an helpful thread for others making similar missions.
I have used shark attack's idea and it works great. But I need a little twist to it:
The player is the leader of a 9 soldiers squad (10 soldiers with him included) on the Independent side. At the end of my mission, choppers fly in to load us up and then fly us away from battle field. So, here is the question, since the largest chopper on the Independent side, the MH-6, can only hold 5 units, I would need two choppers for my whole team. How would the syntax look like if I wanted to use Your code but for two choppers? I tried this but of course it doesn't work.
({_X In Chopper1 And Chopper2} Count Units DogSquad == {Alive _X} Count Units DogSquad)
Then I synchronized both Load waypoints of the 2 choppers with the GetIn waypoint of my troop and the trigger.
What happens in game then is that both choppers arrive but only one lands. So I full it with 5 soldiers and then I can make the second chopper come down if I order the rest of my men to get in it. Then it lands, everyone got in but both choppers stay there, not flying to the next waypoint. Can You help me? I tried things around but was unsuccessful. Thanx in advance!