Quantcast
Channel: Twine Forum
Viewing all articles
Browse latest Browse all 3830

How can I use a link to alter a variable and navigate to another passage simultaneously?

$
0
0
I want two strings of passages - one representing week days and the other Sat/Sun and I want them to link so the player goes through the first string 5 times (Mon - Fri) and on Fri eve is given a link to the 2nd thread which will cycle twice to represent Sat-Sun before returning to Mon morning.
I've already managed that bit by upping the value $day by one on the days end passage with an if statement that asks if the value is 5 i.e. Friday, then it gives you the link for the weekend thread.

I think what I want to do is have a revolving list of values, say for simplicity - Monday - Sunday, that alters one position in the sequence every time the player reaches the midnight/morning passage.

How can I make this work please?

Viewing all articles
Browse latest Browse all 3830