Here's what the script looks like:
when I recieve "_" repeat until answer = A or answer = B or answer = C ask "_" and wait
a.k.a
<when I receive[ ___
<repeat until> answer = A or answer = B or answer = C
ask ___ and wait
<end>
The player's character has to visit another character; that character will broadcast a message. When the stage recieves this message, it's supposed to make you answer "A" "B" or "C". Once you do, it disappears. The problem is, you can visit this character multiple times. I would like it to ask this question each time, but it only stores the answer once and considers the question repeated enough.
How do you make it ask the question each time the message is broadcasted?
Offline
Take out the repeat until
Instead, do this:
When I receive message
ask _ and wait
if answer=a or b or c
rest of scripts
else
broadcast message
That should work
Offline
I'm not sure I understand, but the "answer" block is rewritten by each question, so you can ask as many questions as you want, just store each answer in a list or variable if you need to access it later.
Offline
I found a way to make it work! Thanks anyway.
Offline