I don't know why this isn't working!

Okay, so I’m going to let the reader choose their gender, and I want them to customize their character but it won’t let me. I can’t show the entire script because it’s too long.
Beginning


End

1 Like

For the beginning when you chose girl, where’s your bracket? And where’s your goto for female_custom1

1 Like

I thought you didn’t need a bracket in front of the first chose, but I added a bracket and it still didn’t work. The goto is at the end of each customization thing
GFC1

1 Like

Can I see where you placed the bracket?

1 Like

Did you mean place it there?

1 Like

You can’t have labels within a choice. Use goto’s instead:

NARRATOR
What’s your gender?
choice
“Girl” {
gain chose_Girl
goto custom_Girl
} “Boy” {
gain chose_Boy
goto custom_Boy
}

label custom_Girl
#add customisation and script here

label custom_Boy
#add customisation and script here

2 Likes

No. You need it afterwards like this

choice
“Girl” {
Whatever you need to put
}

1 Like

Thank you so much!

1 Like

I did have it afterwards, but it’s solved now. Thanks for trying to help.:grin:

1 Like

Just to add on to this, to the user who made this thread, make sure you include a goto at the end of each of the scripts that leads the reader to the very end. So like this:

label custom_Girl
#add customisation and script here
goto end_story

label custom_Boy
#add customisation and script here
goto end_story

label end_story
#end messages go here

3 Likes

Moved to Directing Helps and Tips since this is about coding. Solved and closed. Make sure to check out our Forum Tutorial for more info about where to correctly create topics, and feel to PM me if there are any questions. :wink:

1 Like