Choice Branching

Hi!
Can somebody help me?
My MC has to make a choice but I don’t understand how to code choices properly.
Screen Shot 2021-01-25 at 14.48.29

This is what I have done so far, but there is an error. What should I do? :smile:

May I recommend searching for a branching tutorial on YouTube?

Write it like this :
choice
"Let’s Party! " {
#whatever you have written
}

Basically what is wrong in ur code is the lack of the keyword" choice "

I did that with the first choice option. :smiley:
Screen Shot 2021-01-25 at 15.07.21

I’m just not sure how to have a scene follow on from that choice?

Have you made the label I_cant?

I have but I’m not sure if it’s in the right place. :smiley:

Screen Shot 2021-01-25 at 15.23.26

there are lots of good tutorials on how to learn the basics of episode coding and especially choices- I think you’ll have a much easier time when coding if you get the proper background knowledge <3
here are some resources for your issue:

and you can always just search your issue up and a forums post might pop up and have the info you need!

Here’s how I did mine, but yours looks correct to me after fixing it.
The gain part carries over to the next episode in my coding if you’re confused

Screen Shot 2021-01-25 at 15.57.45

There is dialogue under the label I just didn’t screenshot it. And then the other choice follows.

Screen Shot 2021-01-25 at 15.58.51
There is an error next to the second choice. Have I done it wrong? :smiley:

Move the bracket that’s under the choice “Let’s party”
{
To look like “Let’s party”{ so it starts at the beginning of the line

It says there is still an error.

Screen Shot 2021-01-25 at 16.22.55

Try moving the choice over so it starts like how you have it for the music
Like how my choice looks like

I did that but it says there’s an error still. :sweat_smile:

Screen Shot 2021-01-25 at 16.33.23

Can you pm me your script? So I can see where the error is

Yeah of course. :smiley:

1 Like

Ok I understand what you have done wrong. Don’t put labels between two choices. Do it like this:

choice
“I can’t” {
#whatever comes here

goto I_cant
} “Let’s Party!” {
#whatever comes here

goto Lets_party
}

label I_cant
######whatever comes in this branch/label

label Lets_party
#######whatever comes in this branch/label

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