Yes/No question and results

CheshireTiger
24 Feb 2019, 19:36Im going to have an npc ask the player a simple yes or no question. With print messages as results. I intend to use the question function but I'm having trouble getting it to work...
Plz no code view, I keep messing it up somehow. Online quest if that affects anything

Thecatofallcats
14 Apr 2019, 23:19After the question, use "Get Input" then set a variable to the expression result. When you are saying the answer (the words yes/no) make sure to use expressions. For example;
Question:
Yes
No
Chose yes
Get Input
Set variable ___ to text result
print message expression "Good, you chose " + ___ + ". That means we'll be in good shape."
If this confuses you I can do nothing else to help, i'm new with this too and don't take me as good at all.
jmnevil54
16 Apr 2019, 02:39Usually the code looks like this.
https://m.imgur.com/K9WhJVI
https://m.imgur.com/kr0an1m
You want to use Show Menu, not get input. If you use get input, anything you type can be put as the result, like "Peanut butter and jelly sandwich." Or you press a button, and that is saved in the variable, like pressing "south," and then it saves "south. "

DarkLizerd
19 Apr 2019, 04:05I'm so glad the those surveys will help in programming...