Hello guys. I'm Jinx, I just made an account for this forum, great to be here to share works and help and such.
Now my dilemma is that I have made a variable, $isfemale. It's supposed to recognize your characters' sex in my story, because it's followed up with two links, both either turning it False or True. In this case, I used 0 or 1. But for some reason, later down the line, it only recognizes the variable as true, even though I never specified that it should be.
I've included the twine file if you wish to take a look at it. I made it separate from my current work because I'm paranoid someone might take my idea, but I want you to take a look at it and tell me what I did wrong.
The Twine file I included is just me messing around with variables, trying to learn how the program works.
https://www.dropbox.com/s/ngv2w38g1a5pg1f/HelpFixThisShit.twsI cannot thank you enough for your help.
Comments
In other words, this: Should be something like this: (JS lazy equality operator) Or: (JS strict equality operator) Or: (Twine lazy equality operator) Or: (Twine strict equality operator) Since you use the Twine operators throughout the rest of the file, you might as well use them here as well.
For example, testing 0 and 1 (integers) against true and false (booleans).
Lazy equality: Strict equality: This may be informative: Comparison Operators @MDN