I’m having trouble with…
The error I’m getting is:…
My code looks like this:
*fake_choice
*if ((LangNisai = 1) and (Nisai =< 3)) and (Sexuality != 4) and (Spoken = 0))
*hide_reuse #"Sings with Winds, you find me attractive?" I say in fluent Nisanese.
"I... uh... it wasn't... erm..." Sings with Winds stutters as she looks anywhere in the room other than your face while small whirlpools form in the liquid that make up her body.
"Well, go on, sister. Tell the director." Walks with Winds teases from her spot on the couch as she glances up from her terminal as she experiences a few small involuntary contractions in her membrane.
"Erm... it must be an error in translation. Or perhaps the director misheard me." Sings with Winds stammers. "We have work to do! We should definitely save this conversation for another time. Instead of now. Now is too important. Was there something you needed, director?" she changes the topic as she forces herself to appear normal once again.
*set Sings %+ 10
*set NisaiSpeak 1
*goto SistersConvo
I remember there being some kind of trick with multiple variables involving the parenthesis though I can’t remember how to get around this part.
I am currently trying to use this:
*fake_choice
*if ((((LangNisai = 1) and (Nisai =< 3)) and (Sexuality != 4)) and (Spoken = 0))
*hide_reuse #"Sings with Winds, you find me attractive?" I say in fluent Nisanese.
"I... uh... it wasn't... erm..." Sings with Winds stutters as she looks anywhere in the room other than your face while small whirlpools form in the liquid that make up her body.
"Well, go on, sister. Tell the director." Walks with Winds teases from her spot on the couch as she glances up from her terminal as she experiences a few small involuntary contractions in her membrane.
"Erm... it must be an error in translation. Or perhaps the director misheard me." Sings with Winds stammers. "We have work to do! We should definitely save this conversation for another time. Instead of now. Now is too important. Was there something you needed, director?" she changes the topic as she forces herself to appear normal once again.
*set Sings %+ 10
*set NisaiSpeak 1
*goto SistersConvo
The part I need help with is getting all four of those variables to be required for the option to be available but the error says c1 line 1170: Invalid expression at char 32, expected NUMBER, STRING, VAR or PARENTHETICAL, was: INEQUALITY [<
The wiki says:
Multiple conditions can also be checked, which require more parentheses to separate them:
Three equations: *if (((var1 > 10) and (var2 > 20)) and (var3 > 30))
Is var1 greater than 10 and var2 greater than 20 and var3 greater than 30? Note that each and/or can only connect two equations, and each equation can only be connected to one and/or. For example:
On this page: If | ChoiceScript Wiki | Fandom
