Using Sugarcube, is there a code to make a passage destination something like
reload so it brings you back to the same passage? I get I can enter the same information, like if I'm in passage
Apple, I can just type
[b]Apple[/b] and that will reload the page, but I'm going to be doing
a lot of these, so I was wondering if there was a more efficient piece of code I could use that just reloads the same passage when you click it. I have information updating upon opening the passage, so it updates more and more the more it's "reloaded" or "returned to" until the conditions are met to continue.
If anyone can offer help, I'd greatly appreciate it.
Comments
So you could use a markup link like the following:
Warning: One downside of reloading the same passage over and over like this is that the passage gets added to the end of the Passage History again and again. So if the Reader decides to use their web-browser's Back button to a previous passage they will need to click on the Back button the same number of times they clicked on your "Go forth" link.
Hi greyelf, thank you for responding. Unfortunately, when I tried implementing the code
state.active.title
into the passage, right below my text, it simply created a link to a passage named state.active.title
Just delete the new passage that was automatically created.
This answers my question perfectly fine, at the cost of having a broken link warning in my document and leaving the cell red in color. I don't suppose there's a fix for that, but I thank you anyways for your answer.