Creating an immediate "game over" menu

Oddicine
You know how in the Hitchhiker's Guide game, if at any time during the game you typed "kill self" it was like, "Done. You are now dead." and brought you to the game over menu?

How would I do something similar in Quest? I know I could write a script that if the player typed this, it would say this, but I don't know how to indefinitely end the game there and give them the option to go back to the beginning, or a save point (which I also don't know how to do, but I'm still working on learning the ins and outs.)

The Pixie
How I would do it:
Go to the "Verb" on the player object, click "Add" and type in "kill". Select "Run a script" at the bottom, then click the Code View icon below that. Paste this in:
mag("Done. You are now dead.")
finish

You cannot give the option to begin again or go back to the beginning because of the way the web site operates; it is kind of built into it.

This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums