shanawa 10 Posted September 18, 2009 So I've searched and researched and can't figure out how to simplify this. Currently I have 5 bargates that animate when certain opfor and independent vehicles approach. I didn't want to set the trigger for opfor detection because then the guards nearby would keep it open. So I originally grouped every vehicle with its own trigger at each bargate. That means 5 triggers per vehicle. With 10 vehicles I have alot of group lines and triggers. Then I found out I could use thislist in the trigger and not have to group triggers to vehicles but just name them. The problem is I can only figure out how to add 2 vehicles per trigger. I'm looking to find a way to either detect only opfor and independent vehicles or a way to add more names to the condition field or both so I know how to :). In my current trigger I have Activation: ANYBODY,PRESENT, REPEATEDLY And in the Condition field: {vehicle _x == patrol1 || vehicle _x == patrol2} count thislist >0 On Act. bargate5 animate ["bargate",0]; On Dea. bargate5 animate ["bargate",1]; Share this post Link to post Share on other sites
kylania 567 Posted September 18, 2009 (edited) {_x in vehicles && (side _x != west)} count thislist > 0 One ANYBODY PRESENT REPEATEDLY trigger with the above Condition and your existing OnAct/OnDeact Edited September 18, 2009 by kylania Share this post Link to post Share on other sites
shanawa 10 Posted September 18, 2009 Thank you sir. Share this post Link to post Share on other sites