Bingo-66d21d294c551e45 1 Posted May 18, 2021 I'm having trouble with my mission, I've been trying to activate a trigger only after 3 tasks are finished, I am currently using this ( this && ["AA"] call BIS_fnc_taskState == "SUCCEEDED" ) But I can't figure out how to add more tasks to it. I am also trying to make a task show up after all 3 objectives are finished. Hope I can get some help on this 👍 Share this post Link to post Share on other sites
stanhope 412 Posted May 18, 2021 If there's only 3 tasks that all need to be finished: this && ["AA"] call BIS_fnc_taskState == "SUCCEEDED" && ["BB"] call BIS_fnc_taskState == "SUCCEEDED" && ["CC"] call BIS_fnc_taskState == "SUCCEEDED" If there's more than 3 tasks of which minimum 3 need to be finished: this && ({[_x] call BIS_fnc_taskState == "SUCCEEDED"} count ["AA", "BB", "CC", "DD", "EE", ...]) > 2 (untested) 2 Share this post Link to post Share on other sites
Bingo-66d21d294c551e45 1 Posted May 18, 2021 6 minutes ago, stanhope said: If there's only 3 tasks that all need to be finished: this && ["AA"] call BIS_fnc_taskState == "SUCCEEDED" && ["BB"] call BIS_fnc_taskState == "SUCCEEDED" && ["CC"] call BIS_fnc_taskState == "SUCCEEDED" If there's more than 3 tasks of which minimum 3 need to be finished: this && ({[_x] call BIS_fnc_taskState == "SUCCEEDED"} count ["AA", "BB", "CC", "DD", "EE", ...]) > 2 (untested) Works like a charm, Thank you so much mate 👍 Share this post Link to post Share on other sites