i’m trying to make a menu at the end of an episode where you tap an overlay to customize characters, but I got an error: “you cannot have a label inside if/then statements or {}”
How can I get around this?
labels cannot go inside of if/elif/else statements and they can’t go inside of choices. Instead, you’ll need to put a goto in if/elif/else statements and/or choices and this would lead to a label outside of them. Then you can use another goto to merge both pathways, and this that would lead to a label that it shares the same name with.
Here’s an example I showed someone in regards to labels & if/elif/else statements & choices:
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.
More info here: 🖤 HOW TO: Labels and Gotos 🖤
1 Like
system
Closed
April 20, 2020, 4:10pm
4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.