Apologies, I accidentally submitted this blank by mistakenly hitting return.
I'm trying to make [[Link]] which will change the truth value of a variable to its opposite. I have two NPCs to describe, the player picks which to look at first. The link simply says "examine the other one."
I'm using the variable $ExamineTest is keep track of which of the NPCs is which, one is TRUE the other FALSE, this is initialized to FALSE at start.
The line should point the player back to the same room, and I'm usng an if:statement tied to the variable to choose which description is displayed. That part seems to work.
(link: "Examine the other one.")[(if: $ExamineTest is true [set: $ExamineTest to false])](else: (set: $ExamineTest to true))(goto: "Examine the men")
Someone asked for clarification of problem, so I wanted to edit that reply here:
If $ExamineTest is true, I want to set it to false.
If $ExamineTest is false, I want to set it to true.
Now, regardless of the above, I want to send the player to the same room to reload the room, and display the other variable's text.