0 votes
by (250 points)

In my story I have several events that will trigger a Game Over state (character dies or makes a wrong choice). In my "You Lose" passage, where all the Game Over events point to, I've placed a "Restart" button. But the button is just a link to the original "Start Game" passage. This means that some of the variables or conditions that have been modified during the first play through are still intact on the second. How can I restart the game in the "You Lose" passage so that everything goes back to original conditions?

=><=
###Game over.
=><=
[[Restart|Start Game]] 

 

1 Answer

0 votes
by (159k points)
selected by
 
Best answer

You want the (reload:) macro, and you would combine it with a (link:) macro like so.

=><=
###Game over.
=><=
(link: "Restart")[(reload:)]

warning: the above was written from memory and hasn't been tested.

by (250 points)
That works! Thanks a bunch!
...