SCRIPT ERRORS you just can't seem to fix!

Hey! I have this problem that whenever I want to customize my characters it gives me this warning

Hi.
You can’t have labels inside of choices or any type of references, because they have to be accessible at all times to all, no matter what choice your reader makes.
You can however apart from that one thing put them anywhere in the scriptflow as long as you use the right directings to and from there/gotos.

In your case you need to move the label female_costum6 to after the custom choice.
You do this by adding a goto female_custom6 after the opening bracket of Yes, please, then close that choice alternative. Then have the alternative not to custom after, and the proper goto for that one and close both } before you have the label with the customisation choices.

ex

Do you want to custom your character?
choice
“Yes, please”{
goto female_custom6
}
“No, it looks good already”{
goto continue_story
}

label female_custom6

<3

Hi there, I am having some trouble with this particular choice and it’s saying that it doesn’t match. if you could please help that would be wonderful :grinning:

help

Hi.
This is one of those typical error messages that is something other than the error says.
You can’t have spaces in the gains. Put a _ between the words and it should be fine.
So
gain Blue_and_Yellow

<3

1 Like

Ok thankyou I’ll try that immediatly :heart:

Yay it finally worked! I’ve had that error for a while now, But thank you for helping me out I really appreciate it :grinning::heart:

1 Like

Happy to help :smile:

<3

hello
pleaseeeee I need help… when I want to see the scene on the app there is something blue that appears and let the character not appear
how can I remove it
pleaseee help

Hi.
Sound like you might have gotten caught outside of a backgrounds zone.
Have you zoomed in at a previous scene? Try to put a
@zoom reset
at the beggining of the scene, see if that helps.

<3

Hi, I’m new to the Episode Community, and I always scroll through the forums to find the solutions to my problems. However, this particular problem as left me frazzled. In the scene where my problem occurred, I was trying to zoom into the Character, Cassie to make her look angry, but this popped up. Can someone help me? That’s greatly appreciated.

The correct zoom code is: @zoom on CHARACTER to %

The “z” in zoom should be lower case, and you need to add the word “to” before the zoom scale.

thank you very much!

1 Like

how do i get rid of this error?

Hi.
At first glance it looks like you might be missing a closing bracket at line 183 :thinking:
But it’s really hard to tell for sure without looking at the full choice script.
Are you for instance having any nested choices?

<3

I’m new to writing on it,
what do you mean by nested choices?

Can you copy and paste the whole dressing game code please?

Do you have a choice within a choice? beacuse then the closing bracket’s moved from the end of the first choice to the seciond, so instead of

choice
“Alt1”{
scene
}
“Alt2”{
scene
}

you get a

choice
“1:st choice alt1”{
scene

choice
“2:d choice alt 1”{
scene
}
"2:d choice alt2{
scene

} <-- closing bracket for the 2.d/nested choice
}<–closing bracket for the 1’st choice

<3

Choice - Outfit {

@SIAN stands screen center
@SIAN faces right
label dressinggame_1
@speechbubble reset

    SIAN (think)
(I'd like to wear...)

choice (Eps1Outfit)
“Something flirty.”{
@SIAN previews outfit modern
####REPLACE THIS WITH ONE OF YOUR OUTFITS####
@SIAN is admire
@pause for a beat
@SIAN starts idle

    SIAN (idle_arms_crossed)
(I love this look! I'll catch the eye of someone cute!)

choice
“Wear this!” {
@SIAN changes into modern
####REPLACE THIS WITH ONE OF YOUR OUTFITS####

gain SampleGirlOutfit
#This will let you check if they made this choice later.
goto afterdg1

} “I’ll try something else.” {
@SIAN unpreviews outfit modern
####REPLACE THIS WITH ONE OF YOUR OUTFITS####
goto dressinggame_1

} “Something Comfortable.” {
@SIAN previews outfit Dressy 2
####REPLACE THIS WITH ONE OF YOUR OUTFITS####
@SIAN is admire
@pause for a beat

    SIAN (idle_arms_crossed)
(This look let's me really feel like me!)

choice
“Wear this!”{
@SIAN changes into Dressy 2
####REPLACE THIS WITH ONE OF YOUR OUTFITS####

gain SampleGirlOutfit2
#This will let you check if they made this choice later.
goto afterdg1

}“I’ll try something else”{
@SIAN unpreviews outfit Dressy 2
####REPLACE THIS WITH ONE OF YOUR OUTFITS####
@SIAN starts idle_arms_crossed
goto dressinggame_1

goto afterdg1
}

label afterdg1

@SIAN starts idle_happy

#}

Yep, you have nested choices.

need a second closing bracket } between goto dressinggame_1 and } “Something Comfortable.” {
as well as before the new label label afterdg1

<3

its now come up with another error