swiso 2 Posted September 27, 2016 Hello, I just created a mission and I would like to add a trigger that will end the mission if all the players are killed. There is 16 slots available (playable) and can be played only as a BLUFOR with or without AI. (let say there are only 4 guys playing and want to use 4 more AI BLUFOR). I would like to use End3 as "Mission Failed" when all players are killed. What's the best and easier way to do it ? This is the class CfgDebriefing entry that I already have in description.ext : class CfgDebriefing{ class End1 { title = "Mission Failed"; subtitle = "You Cheated"; description = "Cheaters fail at life"; }; class End2 { title = "Mission Accomplished"; subtitle = ""; description = "Well done Chaps. Good job!"; }; class End3 { title = "Mission Failed"; subtitle = ""; description = "Your team was KIA, may you all rest in peace"; };}; Thanks for any help. Share this post Link to post Share on other sites
theend3r 83 Posted September 27, 2016 Condition: {alive _x} count allPlayers isEqualTo 0 Ending: "Lost" call BIS_fnc_endMissionServer; or ["End3",false] call BIS_fnc_endMission; but you need to execute this last one for every client afaik. Share this post Link to post Share on other sites
swiso 2 Posted September 27, 2016 Condition: {alive _x} count allPlayers isEqualTo 0 Ending: "Lost" call BIS_fnc_endMissionServer; or ["End3",false] call BIS_fnc_endMission; but you need to execute this last one for every client afaik. Thanks, so, if I understand corrctly I should choose between the two options you told me.... Condition + Ending or the last command. Right ? Share this post Link to post Share on other sites
theend3r 83 Posted September 27, 2016 Thanks, so, if I understand corrctly I should choose between the two options you told me.... Condition + Ending or the last command. Right ? Yes. I guess putting the condition in a trigger and putting this on act ["End3",false] remoteExecCall ["BIS_fnc_endMission"] should work. Share this post Link to post Share on other sites
swiso 2 Posted September 27, 2016 Thanks a lot mate !! I will try it. Share this post Link to post Share on other sites