Ending the story

Hi, after a bit of advice as I’m stuck in my new game.

My story can be ended at a number of points and locations in the game. I’ve handled the end story as a scene, which contains the end story command and loads of variable text. This is built of different elements based on the position the player got in the story and key things they have done. It works fine apart from a small niggle.

The player carries out an activity that ends the story. I’m using a variable to indicate whether the scene begins or ends. The scene begins okay but the problem is that the player is allowed to complete the turn before the story ends. How do I get around this? Or, a better way to do it?

Thanks

This topic might help. “Follow the shutdown rulebook” may be what you’re looking for.