So my starting passage has simple text which ends with a
story link.This link takes you to other passages that explain some stuff and then another link takes you back to the starting passage.When the player is there I want he/she to get confused and click the
story link again, but this time taking her to a passage which will begin the actual game.I tried using the <<replace>> commands but couldn't make it work.
Comments
No I'm using sugarcube 2 and I want specifically the last passage to bring you back to the start.I've already figured out your way of making an exact copy of the starting passsage but that's not what I want.Isn't there anyway to do it.I set a value called $start to 1 and then tried to have an <<if>> statement changing the link but couldn;t figure it out.I'm trying this as a more of an experiment.I want to see if it's possible if I have to use something similiar in the future.
Alternatively, you could do it with the visited() function. For example:
Though, in this case, I'd stick with turns() as it's more efficient.
Thanks a lot.I never saw the function turns().I will use this a lot further in the game.Again, big thanks