Jump to content
Sign in to follow this  
Cr1lle

Not alive win-trigger problem

Recommended Posts

I made this assasination mission. After you kill the prime minister you are supposed to go to the evac area, wich triggers the win when you reach.

The trigger has the condition "not alive target", but the problem is that the trigger does not wait for the player to reach the trigger area.. it´s just instant win when the target dies..

Any ideas how to get around this?

Share this post


Link to post
Share on other sites

make that not alive target1 trigger just that, and on the activation field type endthis1=true

then have another trigger where u want the player to get too activated by the player and in the activation field type endthis2 = true

the have a third trigger with the end options and in the condition have endthis1 && endthis2

and that should work.

hope that isnt too confusing for you.

Share this post


Link to post
Share on other sites

I think, that it should work this way:

Create trigger.

In "condition" (or something like that) type "not alive target".

Into "On activation" place: "kill = true"

Create second trigger.

Set it to BLUFOR present.

Into "On activation" place: "escape = true"

And then create the last trigger.

Into "condition" place: "kill && escape"

and select ending.

EDIT: Man, this message took 7 minutes to send ...

And after that I found that Matt replied same thing, but 7 minutes faster than me biggrin_o.gif

Share this post


Link to post
Share on other sites
I made this assasination mission. After you kill the prime minister you are supposed to go to the evac area, wich triggers the win when you reach.

The trigger has the condition "not alive target", but the problem is that the trigger does not wait for the player to reach the trigger area.. it´s just instant win when the target dies..

Any ideas how to get around this?

A much simpler way than what the others suggested, keep your existing trigger and make this your condition:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">!(alive target) && this

Basically I just added the condition 'this' which would be the area trigger.

Share this post


Link to post
Share on other sites

how do use that trigger for detecting all of the units in an array (like units1 and unit2) is dead. I can't seem to get it to work with <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">not alive [u1] + [u2];

Share this post


Link to post
Share on other sites
how do use that trigger for detecting all of the units in an array (like units1 and unit2) is dead. I can't seem to get it to work with <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">not alive [u1] + [u2];

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">({!(alive _X)} count [u1,u2]) >= count [u1,u2]

Or

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">({!(alive _X} count [u1,u2]) >= 2

Or, for best results:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">({alive _X} count [u1,u2]) <= 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  

×