Jump to content
Sign in to follow this  
Herbus

!alive to End Mission - With Blufor in trigger area

Recommended Posts

Have figured out some tougher stuff on my mission, but can't get this one sorted.

Basically, I want to leave the base, kill one of three guys and then return to base. I want to make a trigger to end the mission when I go through the gates (trigger area) and have killed man_1, man_2 or man_3

I can make the mission end when I kill man_1 or when I enter the trigger zone, or when I enter the trigger zone with man_1 alive:

this AND alive man_1

As soon as I add the ! for man_1 not being alive it no longer works.

I must be missing something simple here, but 45 minutes is enough to spend on this one without asking for help!?

For a bonus, can you tell me how to do it to check for man_1 or man_2 or man_3 being dead :)

Share this post


Link to post
Share on other sites

Maybe something like this? In end trigger:

( (not alive men1) and ap distance h1<50) or ((not alive men2) and ap distance h1<50) or ((not alive men3) and ap distance h1<50)

ap is name of your unit/soldier and h1 is object in base (car, tank, tent or something else)

Share this post


Link to post
Share on other sites

For a bonus, can you tell me how to do it to check for man_1 or man_2 or man_3 being dead :)

!(alive man_1) || !(alive man_2) || !(alive man_3)

For this you can combine the other conditions you want.

Share this post


Link to post
Share on other sites

Thanks guys. It turned out that it was the unit type that was the problem. I was testing with a BluFor squad leader as man_1. I changed man_1 to a civy and a medic and no problem. Changed him back to a squad leader and it wouldn't trip the trigger. I guess a squad leader must be handled differently or something? Anyhow, the bad guy(s) that have to be killed aren't blue squad leaders, so I am good to go :)

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  

×