surfer 42 Posted December 3, 2013 This should be an easy one but I just don't get it to work: I want the trigger to fire once one all of my team has left the AO. Got the teamleader grouped (F2) with the trigger and "whole team" set in it. Unfortunately the trigger always fires once one of us dies. Apologies if my description is crap, I'm quite tired. Thanks for any help! Share this post Link to post Share on other sites
Mattar_Tharkari 10 Posted December 3, 2013 dont group trigger trigger activation: anybody condition: {_x in thislist} count units groupName == 0 Share this post Link to post Share on other sites
surfer 42 Posted December 3, 2013 Thanks but I still don't get it to work, probably I'm not implementing it right. Anyway, can you tell me how to tell the one that is triggering? Then I could have the condition: this and alive triggerer, when it's grouped to the team. Share this post Link to post Share on other sites
Mattar_Tharkari 10 Posted December 3, 2013 (edited) Tested in game and worked for me? dont group trigger Have you named your group? eg (in leaders init): group1 = group this; #trigger activation: anybody #condition: {_x in thislist} count units group1 == 0 #trigger OnAct: hint "trigger Activated"; Edited December 3, 2013 by Mattar_Tharkari Share this post Link to post Share on other sites
surfer 42 Posted December 3, 2013 I figured now the trigger fires if I enter a boat or car, probably because I'm changing groups then? Appreciate your help! Share this post Link to post Share on other sites
Master85 1 Posted December 3, 2013 if you want to count units inside of vehicles, too then just use vehicle _x instead of _x e.g. something like {(vehicle _x) in thislist} count units group1 == 0 when entering a vehicle the unit itself isn't listed anymore in thislist of a trigger, but its vehicle is listed there when a unit is not inside of a vehicle, vehicle someunit just retuns someunit Share this post Link to post Share on other sites
mad_cheese 593 Posted December 4, 2013 activation: side of the group, or better yet "any" condition: {(alive _x) && (vehicle _x in thislist)} count units groupname == 0 Share this post Link to post Share on other sites
surfer 42 Posted December 4, 2013 Thanks to the three of you guys, works perfectly now! :-) But to be honest I still don't get the synthax of it. Have to learn so much more. Share this post Link to post Share on other sites