Jump to content
Sign in to follow this  
OnlineKenji

Why don't end# triggers work?

Recommended Posts

I set up a Debriefing:End1, 2, and 3 in my briefing.html. And I have a trigger in my mission that goes off when a specific person dies. The trigger is set as type End#3

I hear the music, see the text, etc. I know it's triggering. But, the mission does not end... it just keeps going... is there something else I have to do in order to make the mission actually end?

I'm sure this is a topic somewhere but I couldn't find it using the search.

Share this post


Link to post
Share on other sites

Hi!

try typing </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">ForceEnd<span id='postcolor'> in the on activation line of each end trigger...

...that worked for me...

Share this post


Link to post
Share on other sites

Thanks Muj. However, I found out that if you have 2 or more triggers that are type End# and they are the same end number, then you would HAVE to make sure ALL of those trigger's conditions are true before it will end the mission. This was my problem I had 3 triggers with different conditions that got the same ending.

A work around you can use is simply make more endings and make sure that each End# is only called from one trigger.

Or, you can make just ONE End# trigger for each ending, and a global variable in init.sqs. Like for instance a global variable called bEnd2. Set it equal to false in init.sqs. Then you can make it the condition of your tEnd2 trigger. Setting bEnd2 = true from any other trigger or script will make the mission end properly.

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  

×