Jump to content
Sign in to follow this  
stakex

Need help with triggers...

Recommended Posts

Ok, I'm makeing a mission where you have to go to 6 locations and each one will compleat a new Objective. The problem Im haveing is, how do I make it so a trigger will not work untill all 6 of thoes objectives have been compleated? I assume its a fairly simple command, but 2 hours of search and another of trying diffrent things didn't get me anywhere.

Thanks in advance for any help.

Share this post


Link to post
Share on other sites

Make a variable for each objective.

Activation field in objective trigger: "1" objstatus "done"; obj1=true

Do the same for all 6 objectives and in the trigger you want activated after all objectives are done you put this in the condition field: obj1 && obj2 && obj3 && obj4 && obj5 && obj6

Its also a good idea to declare the variables in your init.sqs

So type this in it: obj1=false

                       obj2=false

                       obj3=false

                       obj4=false

                       obj5=false

                       obj6=false

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  

×