Jump to content
4K.Scar

Mission fail when everyone is dead + respawn tickets?

Recommended Posts

I have these 2 settings enabled, but when respawn tickets reach 0 the mission ends. Even though there are players alive.

How do I make it so the mission only fails when everyone is dead + 0 tickets left?

Share this post


Link to post
Share on other sites

I don't know if this helps, but let's try
this is just an example
description.ext

class CfgDebriefing

{

    class END1

    {

        title = "Mission Completed";

        description = "Congratulations! You succeeded in defending the town. The enemy had to retreat and lost a lot of soldiers and equipment.";

        pictureBackground = " ";

        picture = " ";       

        pictureColor[] = {0.0, 0.3, 0.6, 1};

    };

    class END2

    {

        title = "Mission Failed";

        description = "You failed to defend the town. Better next time";

        pictureBackground = " "; //Mission Fail picture

        picture = " "; //Symbol picture...

        pictureColor[] = {0.0, 0.3, 0.6, 1};

    };

};

put these commands in trigger
condition [side] call BIS_fnc_respawnTickets <= 1 && {alive _x && (side _x) == west} count allUnits == 0
act on : ["END1", true, false] call BIS_fnc_endMission; or select trigger command lose/end1/win 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×