Undoing a "finish the game" command
playinful
23 Jun 2016, 23:34I know quest has a "Finish the game" function, but is it possible to unfinish the game? I want there to be a few possible deaths in my game, and when the player dies, they are sent to a "game over" screen (via "Finish the game" command), but I also want it to be possible for them to undo the last turn, so they wouldn't have to restart, but as far as I can tell, there doesn't seem to be an obvious way to undo finishing the game.

XanMag
24 Jun 2016, 04:22If you have health in your game, you could drop health down to zero when the player dies but do not select a "finish game" script. You wouls need a menu that pops up to give the player the option of undoing the last move or ends the game. There's probably an easier way but... it's late. If it hasn't been answered within a day or so, I'll give you a working example. Hopefully this is enough to get you going.
HegemonKhan
24 Jun 2016, 07:49as XanMag said... just create a fake "Game Over" display, and then give them a choice to continue the game or to actually end the game ('which would execute the 'finish' Function).
The Pixie
24 Jun 2016, 12:06What happens if you present a dialogue box after the game finishes? Code does still run after the finish script; it might just hide the inputs and show the finished pane instead, so you possibly just need to reverse that.