End a rescue mission at the moment too many hostages are lost to win it
Save at least three of five. The player loses the third one and plays on for ten minutes in a mission that is already lost, only to be told so at the end. Here is how to see the point of no return and end the mission when it happens, not before.
Why this works
Telling a player they have lost at the exact moment it became certain is kinder than letting them play on to no purpose. Each person has one final result, and checking after every event shows the moment of truth.
When not to use it
Do not end the mission early if the player may still gain something, such as story scenes, loot or a chance to bring the lost ones back. Then let the level finish and judge at the end.
In the full entry
- What to build, step by step
- Starting values and the reason for each
- 3 common mistakes and the fix
- A diagram of every state
- 20 lines of example code with 5 checks that pass
- How your AI shows you that it works
Say this to your AI
Use the Spielerando entry "End a rescue mission at the moment too many hostages are lost to win it" (read_entry hostage-mission-fails-the-moment-it-cannot-be-won) in my game. Build it step by step, and show me how you checked that it works.Or skip this and connect the MCP: your AI then finds all of this by itself.Connect the MCP