Yes/No question and results

Im 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


After 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.


Usually 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. "


https://surveyguru.xyz/home-depot-survey/
https://surveytips.xyz/walgreenslistens-com/
https://fastsurvey.club/www-dgcustomerfirst-com/


I'm so glad the those surveys will help in programming...


This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums