Jump to content
Sign in to follow this  
BenMorton

trigger question

Recommended Posts

Need help on the following...

I have 3 triggers that when all 3 are actived a 4th will then activate. How can I do this?

Can anyone provide a solution pls?

Ben.

Share this post


Link to post
Share on other sites

This sounds too easy. Maybe I didn't understand you.

For each trigger's activation, set a variable, like:

cond1=true

cond2=true

cond3=true

In the fourth trigger, set the condition field to:

cond1 and cond2 and cond3

Like I said, your question sounds too easy. Am I missing something? rock.gif

Share this post


Link to post
Share on other sites

It probably is too easy smile_o.gif but basically when I activate 3 different triggers then a 4th will activate. I just don’t know what to type in the condition field for 4th trigger. I’ve tried stuff like trig1 + trig2 + trig3 = true but wont let me do that.

I’m pretty new to this stuff mostly I just use the basic stuff on triggers.

Share this post


Link to post
Share on other sites
Quote[/b] ]go the variable route.......

Again I dont know much about that stuff i'm a newbie

Share this post


Link to post
Share on other sites

ok...

setup your triggers

in OnActivation type

t1 = true, or t1 only

do that for every trigger.

So you have 3 triggers in wich

the OnActivation field says

t1 = true

t2 = true

t3 = true

Now put this into condition field of 4th trigger:

t1 AND t2 AND t3

this way 4th trigger will only fire when all the above triggers have fired.

Hope you got it.  smile_o.gif

Edit: I´m in Avons boat also withstupid.gif

Share this post


Link to post
Share on other sites
It probably is too easy smile_o.gif but basically when I activate 3 different triggers then a 4th will activate. I just don’t know what to type in the condition field for 4th trigger. I’ve tried stuff like trig1 + trig2 + trig3 = true but wont let me do that.

I’m pretty new to this stuff mostly I just use the basic stuff on triggers.

Have you tried what I suggested above?

trig1 AND trig2 AND trig3

As the condition in the 4th trigger? rock.gif?

edit: withstupid.gif

wink_o.gif

Share this post


Link to post
Share on other sites

works now thx.

Yeah theavonlady I did try yours but I miss understood your post. When you said cond1 = true, cond2 = true etc..I thought you just meant put "true" in the condition fields for the first 3 triggers instead of "cond1 = true", "cond2 = true" tounge_o.gif

Share this post


Link to post
Share on other sites

Congrats, Ben, on this joyous occasion. biggrin_o.gif

I highly recommend that you UnPBO a couple of OFP missions for examples of how to code triggers and more. smile_o.gif

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  

×