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

&&& || if statements.

$
0
0
sugarcube 2.17
I've notice that when I and(&&) or or(||) if statements together to make it into one if there is even a simple add or subtraction in the statements they get skipped, or not evaluated. Like
<<if (sim1.age - sim.age2 > 10) && (sim1.relationship >= 4)>> will allow the first test to pass every time, but if left as a single test if it works as it should. Is this a bug?

Viewing all articles
Browse latest Browse all 1844

Trending Articles