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

Issue setting a variable (beginner question)

$
0
0
Hi all, I'm using Harlowe
I have a quiz on one passage. If a user selects the correct choice, they are brought to another passage where the variable $mom is set to true. (It hasn't been initiated anywhere, this is the first appearance of the variable)

Then, on returning to the quiz page, an if statement at the top checks for the value of $mom.

As you can see, the variable is set to true, but then is still displayed as "0" upon return.
Where's my oversight?

Thank you

Viewing all articles
Browse latest Browse all 3830

Trending Articles