Just some system details.
- Ubuntu 14
- Latest JRE installed
- Using latest Twine (downloaded today)
I am trying to set a variable $ai as part of a conversation system I plan on using in a story.
So in my first passage, story start, I have a (set: $ai to 0). In the next passage I have a couple of if statements.
(if: $ai gte 1)[
example ]
However when I run the story and I get to the passage with the if statement it spits out Unexpected identifier.
Comments
However you can use the to and is operators instead of Javascript's assignment = and comparison == operators.
note: The Java JRE you have installed has no effect on Javascript, as the two languages are total unrelated.