Bioz 1 Posted August 5, 2012 Hello guys, I didn't find anything for this issue. I want that a trigger get activated only when 2-3 other triggers activates (not at the same time). How to do that? Share this post Link to post Share on other sites
ProfTournesol 956 Posted August 5, 2012 http://community.bistudio.com/wiki/triggerActivated Share this post Link to post Share on other sites
dmarkwick 261 Posted August 5, 2012 Ha, ninja'd by Prof, but if you want to activate trigger1 upon trigger2 and trigger3 being tripped, then in the Condition field of trigger1 type: triggeractivated trigger2 and triggeractivated trigger3 From there you can add more etc. Share this post Link to post Share on other sites
igneous01 19 Posted August 5, 2012 why not just synchronize the 3 triggers to that trigger? does the same thing. I also say try playing around with gamelogic AND and OR waypoints, have a gl AND waypoint synched to all thetriggers, and in act code type whatever u need Share this post Link to post Share on other sites
M.Evans 10 Posted August 6, 2012 can you synch triggers to triggers if so never figured out how. Share this post Link to post Share on other sites
sgtice 10 Posted August 6, 2012 Nope tried that about 10 mins ago. Share this post Link to post Share on other sites
f2k sel 164 Posted August 6, 2012 (edited) name all your trigger ie trig1, trig2, trig3place then in a n array arraytrig = [trig1,trig2,trig3] in the main trigger cond { triggeractivated _x} count arraytrig > 1 on act hint "At least two triggers activated" result would be that you need at least any two of three triggers to have activated I think you can just create the array in the trigger condition { triggeractivated _x} count [trig1,trig2,trig3] > 1 Edited August 6, 2012 by F2k Sel Share this post Link to post Share on other sites
clydefrog 3 Posted August 6, 2012 name all your trigger ie trig1, trig2, trig3place then in a n array arraytrig = [trig1,trig2,trig3] in the main trigger cond { triggeractivated _x} count arraytrig > 1 on act hint "At least two triggers activated" result would be that you need at least any two of three triggers to have activated I think you can just create the array in the trigger condition { triggeractivated _x} count [trig1,trig2,trig3] > 1 If you didn't put it in the trigger and did it the first way you said it, where would you put the array (arraytrig = [trig1,trig2,trig3])? Share this post Link to post Share on other sites
f2k sel 164 Posted August 6, 2012 You can place it in the init box of any object, unit or gamelogic. You can also place it in an init.sqf file which you create and save your self, this will run automatically every time the mission is run. Share this post Link to post Share on other sites
igneous01 19 Posted August 7, 2012 Nope tried that about 10 mins ago. wasnt clear enough: you need to use game logic's "AND" wp to synch all the triggers to it. You type in the code inside the wp activation box, then once all the triggers have fired, the code will fire. You can also synch triggers to other triggers, only, both triggers have to have condition fulfilled to true, then both will activate at the same time. Share this post Link to post Share on other sites