Jump to content
Sign in to follow this  
TomDark

Group in Uh60 => Mission ending

Recommended Posts

Hello

how do I do it which the KSK-team sitting in the helicopter and then the mission ends !

it should play no role how many team members are still alive after the Mission

can anyone help me ? :confused:

Share this post


Link to post
Share on other sites

{_x in uhName} count units kskGroupName == count units kskGroupName

Share this post


Link to post
Share on other sites

I'm sorry but it does not work !! ?

the groupleader is name is SP1

in the Init.sqs ==> sp1 setGroupID ["kskteam","GroupColor2"];

the helicopter name is Uh60

i put this in a trigger but it don´work

{_x in uh60} count units kskteam == count units kskteam

Share this post


Link to post
Share on other sites

setGroupID just changes what you look like when you speak, it's not an object you can refer to the group as. Try:

kskteam = group this; kskteam setGroupID ["KSK Team", "GroupColor2"]

Then the count units kskteam will work, since you've aliased your group to "kskteam" via = group this.

Share this post


Link to post
Share on other sites

very well , now it´s working !

thanks for the help !

Share this post


Link to post
Share on other sites

and how can i make opposite from all units in Uh60

when all units out of uh60.

Share this post


Link to post
Share on other sites

{_x in uh60} count units kskteam == 0

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  

×