Help Again With Nested(?) Choices


#1

Ugh, again. I need help so here’s the script.

MIA (react_shocked_gasp)
What should we sing?

label artist_choose
GREG
...

choice
"Justin Bieber (HARD)"{

GREG (react_holdface_happy)
Justin Bieber!

   MIA (sing_dance_clap_happy_loop)
   My first love, broke my heart for the first time -
&MIA is idle_bounce_happy_loop

GREG
...
choice
"And I was like baby, baby, baby oh!"{

GREG (sing_warmup_loop)
And I was like baby, baby, baby oh!
&MIA is react_claphands_happy

goto continue
}
"And I was like baby, baby, baby no!"{

GREG (sing_fail_embarrassed)
   And I was like baby, baby, baby no!

readerMessage Fail! Time to go back! do you even pop culture?
goto artist_choose 
}
"Let me repick!"{
goto artist_choose
}

}
"Taylor Swift"{

GREG (react_holdface_happy)
Taylor Swift!

   MIA (sing_dance_clap_happy_loop)
   But oh, this time I'm telling you, I'm telling you -
&MIA is idle_bounce_happy_loop

GREG
...
choice
"We are never getting back together!"{

GREG (sing_warmup_loop)
We are never getting back together!
&MIA is react_claphands_happy

goto continue
}
"We are so gonna be over!"{

GREG (sing_fail_embarrassed)
We are so gonna be over!

readerMessage Fail! Time to go back! do you even pop culture?
goto artist_choose 
}
"Let me repick!"{
goto artist_choose
}

}
"Selena Gomez"{

GREG (react_holdface_happy)
Selena Gomez!

   MIA (sing_dance_clap_happy_loop)
I've been running through the jungle -
&MIA is idle_bounce_happy_loop

GREG
...
choice
"I've been running with the wolves!"{

GREG (sing_warmup_loop)
I've been running with the wolves!
&MIA is react_claphands_happy

goto continue
}
"I've been running with the bears!"{

GREG (sing_fail_embarrassed)
I've been running with the bears!

readerMessage Fail! Time to go back! do you even pop culture?
goto artist_choose 
}
"Let me repick!"{
goto artist_choose
}


}
"Drake"{

GREG (react_holdface_happy)
Drake!

MIA (sing_dance_clap_happy_loop)
She said do you love me -
&MIA is idle_bounce_happy_loop

GREG
...
choice
"I tell her only partly!"{

GREG (sing_warmup_loop)
   I tell her only partly!
&MIA is react_claphands_happy

goto continue
}
"I tell her of course I do!"{

GREG (sing_fail_embarrassed)
I tell her of course!

readerMessage Fail! Time to go back! do you even pop culture?
goto artist_choose 
}
"Let me repick!"{
goto artist_choose
}

}
"Ariana Grande"{

GREG (react_holdface_happy)
Ariana Grande!

MIA (sing_dance_clap_happy_loop)
Something 'bout you -
&MIA is idle_bounce_happy_loop

GREG
...
choice
"Makes me feel like a dangerous woman!"{

GREG (sing_warmup_loop)
Makes me feel like a dangerous woman!
&MIA is react_claphands_happy

goto continue
}
"Makes me feel like a dangerous girl!."{

GREG (sing_fail_embarrassed)
Makes me feel like a dangerous girl!

readerMessage Fail! Time to go back! do you even pop culture?
goto artist_choose
}
"Let me repick!"{
goto artist_choose
}
label continue

So I get an error that says:

There is a { on line (blank) that doesn’t have a matching }.

And it says that for every single one, I had to delete one and I thought that would fix it but it said it for the one above it.


#2

I do not see a matching } for the first bracket in the Ariana Grande choice. Check again to see if you have a matching } after:

"Ariana Grande"{

Hope this helped. :wink:


#3

Okay it goes like this
Character talks
choice
“Something.” {
Character talks
}“Something too.” {
Character talks


Every choice after the first one has to have those bracket thats your problem


#4

Yeah, there is one. (At the very end, before label contine.)


#5

Thanks!


#6

Did it help?


#7

Hm, I tried it and though it helped sort out the story a bit more, I still get the error.


#8

But doesn’t the { bracket after
“Let me repick!”
connect to the one before label continue?


#9

Try adding one more } bracket at the end and tell me if it works or not.


#10

You need one more ending bracket at the very end right before the label continue.


#11

Ok a lot of those choices need to be separated.

like:
The character makes one choice then goes to another
these two choices can’t be connected.

The let me re-choose one has to be a separate choice


#12

@Dara.Amarie and @AlyaSS Oh, duh. Thanks for the help!


#13

Anytime :two_hearts:


#14

Hi, does anyone know how to make your characters sing like they do in pitch perfect deep treble


#15

That story has certain music- and certain animations that we aren’t aloud to have.


#16

I love the pun that you used XD
Saying “aloud” instead of “allowed” for a music question :joy: Very clever ; )

Also, to the user:

https://episodesupport.zendesk.com/hc/en-us/articles/115004056294-Nested-Branches

If you go to this, it will lead you to the nested choices script where you can check out how nested choices are done : )


#17