Coding bug 🦠 Helppp!

It’s not working tho

is it worked?

1 Like


Look when I put the label inside a choice it is showing an error

1 Like

Yeah

Now I put my label outside the choice no error.

1 Like

Put the label like this

1 Like

labels can’t go inside of choices and they can’t go inside of if/elif/else. You need to use a goto inside of a choice that leads to a label outside of the choice and write up the scene. At the end of the scene, you can write a goto that leads to a label sharing the same name, where the story merges. Can read more here: HOW TO: Labels and Gotos 🖤

Example:

NARR
Would you like to go to the park?

choice
“Yes”{
goto PARK
}

label PARK
#script here for going to the park
goto merge_story

label merge_story
#back to main story-line.

1 Like

Thx I’ll check it out rn! :two_hearts:

Add a } on line 126

You don’t have a closing bracket.

1 Like

Ok!

Is it worked?

1 Like

Yes

1 Like

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