Jump to content
Sign in to follow this  
texkaz

How to make it so the mission ends in a loss when certain trucks are destroyed

Recommended Posts

2 questions actually the title is the first one.

I have 4 trucks named ural1 ural2 ural3 and ural4. I want to make a trigger that if any of them are destroyed this mission ends in a loss. I also want to make it that these trucks have to be in a certain area for there to be a win.

Second Question:

My Spetsnaz team meets with a KSK team somewhat deep into the mission. They meet and my team is supposed to destroy a brdm. When that happens I want to give a radio signal to the KSK team that is synchronized with a way point. I need that radio order to come up when my team meets the KSK team and not at the start of the mission.

Thanks for help.

Share this post


Link to post
Share on other sites

Answer to question 1:

Simply make a trigger, under Condition put this:

!alive ural1 && !alive ural2 && !alive ural3 && !alive ural4

Then under type select End1 that should end the mission.

Now for the mission success;

Group Ural1-Ural4 together, then make a trigger in the area where you want them to finish and simply group the trigger to the lead Ural.

That's it!

Question 2:

Unfortantely I'm not that much of an expert on having a trigger activate another trigger... Always have problems with that.

A simple search of the forums should help you out, search for "Trigger enables trigger"

I hope this helps you out!

-Bigshot

Share this post


Link to post
Share on other sites

yeah I did the search and wasn't coming up with answers....but I guess those keywords are better to use. Thanks for the help I didnt put two && symbols and that was the problem. This code is like learning a second language sometime...lol.

Share this post


Link to post
Share on other sites
Answer to question 1:

Simply make a trigger, under Condition put this:

!alive ural1 && !alive ural2 && !alive ural3 && !alive ural4

Then under type select End1 that should end the mission.

Now for the mission success;

Group Ural1-Ural4 together, then make a trigger in the area where you want them to finish and simply group the trigger to the lead Ural.

That's it!

Question 2:

Unfortantely I'm not that much of an expert on having a trigger activate another trigger... Always have problems with that.

A simple search of the forums should help you out, search for "Trigger enables trigger"

I hope this helps you out!

-Bigshot

The code for the first part did not work. As soon !alive ural1 &&...etc does not work when I kill the urals. Activation was none present. So I changed it to civilian present (and put one in trigger area) and the scenario ended instantly at start. Do not understand what is wrong with it.

Share this post


Link to post
Share on other sites

cond:

!alive ural1 && !alive ural2 && !alive ural3 && !alive ural4

you need to put that in condition field of trigger, remove this wich is there by default.

also make sure you name the urals correct names used, ural1, ural2 etc as above.

Share this post


Link to post
Share on other sites
I want to make a trigger that if any of them are destroyed this mission ends in a loss

Shouldn't that be or's instead of and's?

!alive ural1 [b]or[/b] !alive ural2 [b]or[/b] !alive ural3 [b]or[/b] !alive ural4

Share this post


Link to post
Share on other sites

thanks for all help I just made a separate trigger for each ural and called it a day.

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  

×