URGENT! Label Error!

Hello guys! Would you mind looking at the picture below and tell me how can I solve this issue?

episode%20error5

Thank you in advance!

Could you show me what comes before and after this? Have you closed all the brackets? Remember, that labels are not allowed in between brackets.

Sure, here it is.

Try putting the label before the “INT. THE HAMILL BALLROOM - NIGHT”

It does not work.

You can’t have labels instead of if/else statements.

Can you explain what you mean? Or maybe give me a script template?

You need to use the gain method instead. Read this thread to understand more about the if/else statements.

1 Like

Have you used

if{

}
else{

}

in your story?

no, i’ve never used them.

You may have to write ‘gain event_cont’ instead of the goto, and then where you want the next scene to take place (depending on the choice) you will have to write:

if (event_cont) {
NARRATOR
Event continued scene goes here.
} else {
NARRATOR
The event that is not continued will go here.
}

Well, that would make the script much more complex since it would be choice inside a choice inside a choice so I think i’ll just erase all the part that give errors. Thanks anyway!

You can’t have labels inside of if/elif/else statements and you can’t have labels inside of choices.

THIS is WRONG:

NARR
Pick your fav color.

choice
“Blue”{

label blue_color

}

It is also wrong to have it inside of if/elif/else.

You need to have a goto that leads to a label outside of them.

She said she never used If/elif/else and the brackets are all closed

@ipek_episode let us know how it goes, please :heart:

I decided not to use a label there since if i did what you told me it’d be too complex for me! But thanks for the help!

Are you changing the background after the choices? You haven’t placed any characters in the scene … you have Shawn doing dialog but he would just pop up on the screen. Sometimes the error message lies and it’s something completely different :grimacing:

I decided not to use a label there since if i did what you told me it’d be too complex for me! But thanks for the help!

I will keep that in mind though.

1 Like

The mighty Shawn is a teleporter :joy:

@ipek_episode Glad it was solved :heart: I encourage you to read over the thread xxLoveAaliyah linked.

3 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.