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

(Harlowe) If/else cycle links

$
0
0
I'm trying to create cycle links that are dependent on previously chosen variables.

Code right now is a scramble between if/else statements and cyclingLink code, but basically I want it to do the follow:

Page 1: set $food to cycle "fruit" or "vegetable" --> I can do this much

Page 2: if $food is "vegetable," set $favorite to cycle "carrots", "broccoli", "potatoes"
else set $favorite to cycle "apples", "oranges", "grapes"

Viewing all articles
Browse latest Browse all 3830

Trending Articles