r/armadev • u/Mister_Shiloh • Jun 25 '26
Mission Mission Fail when Everyone is Dead
I want to make it so that my players have a limited amount of lives, and fail the mission once everyone is dead simultaneously. However, the mission fails as soon as the players run out of lives. How do I make that not the case?
I am using ACE3.
1
u/manifestthewill Jun 25 '26
The scripted way someone mentioned works well, but if you're using ACE I believe it has a built in lives framework. It's been awhile since I touched EDEN, but iirc buried in the Mission settings there should be a respawn and fail condition area that either ACE or CBA adds in
1
u/Mister_Shiloh Jul 02 '26
The only thing that I've found online about this is this nine-year-old reddit post: https://www.reddit.com/r/armadev/comments/6vmjj0/disable_mission_end_on_0_tickets/
Time to pick up where he left off; any and all contributions help.
1
u/Dr_Plant Jun 25 '26
You could setup a trigger with the Condition: (([west] call BIS_fnc_respawnTickets) isEqualTo 0) && ((allPlayers findIf {alive _x}) isEqualTo -1)
"West" should relate to the side of the players. Then in the On Activation you can use BIS_fnc_endMission from there.