Help! How to create repeating choices


#1

I need helping making choices, my character has to pick the right door but if she picks the wrong one she needs to see the options again( so basically repeating them) how do I do this??!!!


#2

You can do this with labels. For example:
NARRATOR
Which door do you want to go through?
choice
label picking_door
“Left Door” {
CHAR (think)
I think I’ll pick the left door.
Text

More code…

NARR
Sorry, that’s the wrong door. Try again.
goto label picking_door
} “Right Door” {
CHAR (think)
I think I’ll be the right door.
Text…
…More code…

}
Carry on with script

Okay, I don’t know if this is 100%. You’ll have to alter it to your story, but I think it’s right… If it’s not sorry, but I hope this helps :blush: somebody probably has a template waaay better than this, but this is just off the top of my head :sweat_smile:


#3

Thanks so much, I’ll try it


#4

Yep as @random_life said, for that, you’ll need to use go-to’s and labels :slight_smile:


#5

It says unexpected label?


#6

Well, it doesn’t have to be names that specifically. I’m not entirely sure what to do, but could you send me your script, please? :blush:

Wait, you could possibly try taking out the word ‘label’ in ‘goto label picking_door’ and see if that makes a difference :thinking:


#7


#8

Take the ‘NARRATOR’ out of line 118 and put the label aboe CLARA’s speech.


#9

Omg thank you so much, it worked!!


#10

No problem :smile: if you need anymore help, feel free to ask


#11

So I’m new at this whole writing thing and I was wondering when you let the reader customize the character, and they don’t like the character, (like lets say they messed up on the character), how do you let that choice “repeat” or “loop” so that way it would seem like more professional.

If you don’t know what I mean its when authors insert into their scripts-

NARRATOR
So what is you name?
That’s an amazing name [NAME]!
Are you sure that this is your name?

choice {No! I messed up!}
{Yep I spelt it all right! Thanks!}

Anyway lets say they clicked on the mess up choice. How would you make them repeat the choice?


#12

Actually nevermind! you would just label the customization at first then put a choice and then if they click they messed up, you would put in your script “goto _______” and _______ is whatever you labeled the customization! haha okay well yep!