Jump to content
Sign in to follow this  
elite3444

Need help with triggers

Recommended Posts

i made a singleplayer mission where a bunch of marines are defending an airport from russians, while a smaller group is taking over the village where they are coming from.

I want to make it where a trigger sets off each time one is seized by Blufor

I have 2 triggers, one for each location, but is there a way to synchronize them where when both have been triggered, the mission ends? Or does anyone have a suggestion for a way to do this. Im pretty new at making missions so some extremely complicated things might be a bit hard for me.

Share this post


Link to post
Share on other sites

on way you could put for example

zone1=false; zone2=false;

in your init.sqf. then in each triggers on activation put

zone1=true; zone2=true;

Now the zone1 would be for one trigger and zone2 for the other. create another trigger set type to end1 or any end really. In condition remove this and put

zone1 and zone2

you can adjust the delays if you want some after activation but that is all you should need.

Share this post


Link to post
Share on other sites

what do u mean by init.sqf

i know init would be initialization but im not sure what u mean by that, everything else i understand

Share this post


Link to post
Share on other sites

init.sqf is a file you'll create with a standard text editor. Simply place it in the same folder as your mission.sqm file.

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  

×