Jump to content
Sign in to follow this  
TomDark

Group is Dead .....

Recommended Posts

Hello ,

I hope you can help me, there is a possibility to make the Init shorter.

I mean if all units in group Bravo are dead the second Mission Objective failed.

Can I use something like this:

not alive all uinits in group Bravo or something ?

without using

!(alive sol1) and !(alive sol2) and ........

thanks for your help..... :)

Share this post


Link to post
Share on other sites
if( ({alive _x} count units _bravoGroup)>0 ) then {
  ...somebody is still alive
} else {
  ...all of bravo group are dead
};

Share this post


Link to post
Share on other sites

thanks , but I did not mean the Init.sqs . I'm sorry I asked the question wrong. I meaned a Trigger in the Mission Editor.

Share this post


Link to post
Share on other sites

it doesnt matter, you can use the same condition in the trigger (of course without the IF/THEN)

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  

×