Quantcast
Channel: Help! with 2.0 - Twine Forum
Viewing all articles
Browse latest Browse all 1844

How do I keep count of something?

$
0
0
Hi there! I'm a teacher trying to teach Twine with a bunch of enthusiastic primary-aged writers. They want to know how to do all kinds of things and I am doing my best to stay one step ahead of them. At the moment I am trying to figure out how I can keep count of something, like the number of keys collected.

At the moment I have (if: $key is 3) as a conditional to show the text that allows the reader to open the door. I have (set: $key is '0') and the beginning of my story.

What do I use to increase the count of $key by a given value? Something like (set: $key +1)?

Sorry if this question has been asked and answered elsewhere. I didn't exactly know what to search for. Thanks for your assistance! :)

Viewing all articles
Browse latest Browse all 1844

Trending Articles