View Full Version : Entire group in vehicle check

Feb 27 2006, 19:38
For a group of which the player is the leader I want to make a helo extract. Nice eh?

Now what I need is a condition that holds when all living groupmembers are inside the chopper.

Something link ((obj in ch47) or ! alive obj) for each soldier would work I guess... but it is a lot of typing http://forums.bistudio.com/oldsmileys/wink_o.gif

Any ideas? thx

Feb 27 2006, 19:46

{(alive _x) and not (_x in ch47)} count units group player < 1

Feb 27 2006, 21:41
Works like a dream&#33; Thanks&#33;