Goro 21 Posted February 6, 2016 Heyy there! I need a script which will end mission instantly(With ending 2) when there are more than 40 EAST soldiers in trigger area/Marker area. Would it be possible? Thanks in advance! Share this post Link to post Share on other sites
davidoss 550 Posted February 6, 2016 Would it be possible? Sure no problem with that. Share this post Link to post Share on other sites
Dreadleif 4 Posted February 6, 2016 Sure no problem with that. Trigger: OPFOR, Present Condition: (east countSide thislist) >= 41; OnAct: endMission "END2"; Add a countdown if you don't want it to seem too instant. Or a timeout if you want to give yourselves some chance to bring the number down again once it reaches above 40. Or if you need to check for it in the end of a script, remove the onact from the trigger and put it below "waituntil {triggeractivated triggername};" in the script 1 Share this post Link to post Share on other sites
davidoss 550 Posted February 6, 2016 Trigger: Anybody, Present, ONCE Condition: this && ({alive _x && side _x == EAST} count thislist) >= 40 OnAct: "END2" call BIS_fnc_endMission; This is giving just mission end if you want to fail mission change to: OnAct: ["epicFail",false,2] call BIS_fnc_endMission; 1 Share this post Link to post Share on other sites
Goro 21 Posted February 6, 2016 Thanks guys! I'll check out both ways and see if it works. Share this post Link to post Share on other sites