Jump to content
Sign in to follow this  
Obscure CIA_Agent

Mission failure

Recommended Posts

Hey guys!  I've been stumped again here.  

So in the mission if all five players die I want the End #2 trigger to activate and end the mission.  This much works.  The problem is the trigger activates when westsoldier1 (the leader) dies.  Now I've tried linking the trigger to the group and using the 'whole group' activation, but that makes it so when any player dies the trigger is activated.

This is where I'm at right now:

not (alive westsoldier1); and not (alive westsoldier2); and not (alive westsoldier3); and not (alive westsoldier4); and not (alive westsoldier5);

This makes it so when westsoldier1 dies the mission ends.  However I want all the players dead before the mission ends.

I'm sure one of you savages knows what I'm doing wrong.  Any suggestions?

Thanks,

CIA banghead.gif

Share this post


Link to post
Share on other sites

I'm quite sure it's the semicolons. Try like this:

not alive westsoldier1 and not alive westsoldier2 and not alive westsoldier3 and not alive westsoldier4 and not alive westsoldier5

Share this post


Link to post
Share on other sites

or use

Quote[/b] ]

("alive _x" count [westsoldier1,westsoldier2,westsoldier3,westsoldier4,westsoldier5]) == 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  

×