Jump to content
Sign in to follow this  
Koni

Triggers active if other trigger is not active

Recommended Posts

How do I set up a trigger to only activate if one side is not in an area and only if another trigger has NOT triggered ?

I know to set it to side not present etc, it's the other trigger that has not to have been activated for the other trigger to fire that I can't work out.

Also, what is needed to activate a trigger if the player has sustained the amount of damage that makes you crawl if possible aswell.

Thanks

Share this post


Link to post
Share on other sites

assign a condition to the trigger that says that a variable will be true if the trigger is activated. Then on the other trigger, tell it to only trigger if condition A is met, and the variable is not true. Im about to eat dinner, but ill give u an example in a little bit

Share this post


Link to post
Share on other sites

Yes I think I get it.....

What I had was 2 triggers, one set to "Blufor not present objective failed", and one to "Independant not present objective Sucseeded", but then I've changed the mission so if the Independants kill all US forces, instead of them just staying in that area they now move onto another location out of the trigger area, making a "Independant not present" result, giving me a objective complete after I have failed if all the US forces are dead if you follow my drift.

So what I need is a trigger set up to allow the Independant forces to move out of the area after kiiling all US forces but not bringing about the trigger set to check if they have all been killed in the first place.

One way I know of doing it would be to have the trigger set using the ! (ALIVE unitname) AND ! (ALIVE unitname) for all the Independant forces as a condition for the trigger scanning the area for US forces not present to stop it saying well done after you've failed in the first place, but thats alot of ALIVE's, lol

Edited by Koni

Share this post


Link to post
Share on other sites

well, try that by yourself, because that is always the best way to learn, but if you really get stuck, just say so, and ill give you the script.

Share this post


Link to post
Share on other sites

I know it will work, though it's a long way round of doing it, though I think for everything I want to happen in my mission there's most probably a far shorter command for getting the same results than what I am typing :D

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  

×