CoG Joel 0 Posted May 19, 2018 So im bit stuck with a triggers. What im trying to do is after kill ai then taking it back to point of trigger its mission complate/end in Con ture && !Alive Warlord on Atc { if(!(Alive _x&& _x) == Warlord)then { "KILLED" call BIS_fnc_endMission; }; } foreach thisList; Share this post Link to post Share on other sites
gc8 977 Posted May 19, 2018 There is couple typos in your code. And you dont need condition check in Act since you already did this in Con. it should be: in Con true && !Alive Warlord on Atc "KILLED" call BIS_fnc_endMission; I hope that helps. 1 Share this post Link to post Share on other sites
CoG Joel 0 Posted May 19, 2018 thank you mate but im getting the complate mission, but i only wont it after the dead ai been drop off inside trigger? Share this post Link to post Share on other sites
gc8 977 Posted May 19, 2018 11 minutes ago, CoG Joel said: thank you mate but im getting the complate mission, but i only wont it after the dead ai been drop off inside trigger? oh sorry, missed that. The problem with that is that thislist does not contain dead units. So you could do something like this: Condition: (Warlord distance2d trigger < 5 && !alive Warlord) Action: "KILLED" call BIS_fnc_endMission; In the Condition field you must name the trigger as "trigger" for it to work. And you can change the distance "5" to anything you want. Share this post Link to post Share on other sites