"Unexpected block end" error

Hi! So when writing my story I added a choice inside a choice and the “unexpected block end” error came up. I’m going to write out the script because it’s easier than explaining it. (The line with the ‘x’ on it is where the error is).

label choosing_outfit

CHAR (animation)
What should I wear?

choice
“Outfit 1” {
@CHAR changes into CHAR_outfit1
}
“Outfit 2”{
@CHAR changes into CHAR_outfit2
}
NARRATOR
Is this what you want to wear?

choice
“yes” {
NARRATOR
Hair and makeup

label hair_lip

*inserted hair and makeup template

NARRATOR
Is this the look you’re going for?
choice
“Yes” {
@CHAR is animation
}
“No” {
goto hair_lip
}
@CHAR exits left
}
“No” {
goto choosing_outfit
} x

Sorry, ik it’s long but I would appreciate some help tyyy

I think you forgot the bracket that goes after this part. Remember, because the hair and makeup template has brackets in that, you’ll need to add an additional one afterward to close the bracket… if that makes sense.

I just tried that and it doesn’t seem to work

Maybe it’s this part?

If you’re trying to do hair/makeup within the “yes” bracket, it won’t work. You can’t input labels in choices/branches.

Ohhh okay ty, I’ll try and move it after the outfit choice

label choosing_outfit

CHAR (animation)
What should I wear?

choice
“Outfit 1” {
@CHAR changes into CHAR_outfit1
}
“Outfit 2”{
@CHAR changes into CHAR_outfit2
}
NARRATOR
Is this what you want to wear?

choice
“yes” {
Goto hair_lip
}
“No {
Goto choosing_outfit
}

label hair_lip

NARRATOR
Hair and makeup!

*inserted hair and makeup template

NARRATOR
Is this the look you’re going for?
choice
“Yes” {
@CHAR is animation
}
“No” {
goto hair_lip
}

@CHAR exits left

———
Copy what I typed above into your script and see if that helps. I changed a few things around like how I would do it in my stories. I also did this on my phone, not computer, so I can’t tell if there are any errors. Feel free to let me know if there are, or if you’re still having issues.

Currently trying this, I’ll let you know if it works :slight_smile:

1 Like

It worked, thank you sm!

1 Like

Awesome! So glad to hear that :heartbeat:

1 Like