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

Range of Variables for If Statements (Harlowe 2.0)

$
0
0
I'm looking to add a meter, like a build-up of energy, and I'm struggling to find how to write out the if statement to compared a range of values.

To give an idea of what I mean, I want to display certain text when the variable number of $energy is between either 0-25, 26-50, 51-75, 75-99, or just plan over 100.

I've tried to use it simply by using (if:$energy is >=0) and so on, but it doesn't seem to work poperly, and any values over 25 still next the text for when it's over 0.

Any ideas how to do this? Harlowe 2.0, by the by.

Viewing all articles
Browse latest Browse all 1844

Trending Articles