Hi!
My
last thread got no answer so I started to painfully look into the code from scratch, and I wondered one thing. Sorry if that's a noob question, but if there is a $currentPassage is there also a $previousPassage? I couldn't find any information on $currentPassage on the wiki, and I couldn't find a list of things similar to it (I don't even know how to call these things that start with a $).
Basically, I'm trying to find a way to show choice history on screen and I wondered if a $previousPassage would do the trick.
Thanks!
Comments
I am unsure which story format you are asking this question about because after using code similar to the following to do a quick test story for all the ones currently available for Twine 2 (including SugarCube 2 and Harlowe 2) I was not able to find one that had a built-in $currentPassage variable.
You can implement your own $currentPassage and $previousPassage variables by:
1. Placing code like the following in a header tagged passage. 2. Placing code like the following in a startup tagger passage:
warning: The above examples were written from memory and have not been tested.