Please help I'm so frustrated!


#1

the edit is telling me there is an error at line 148: " ERROR: there is a { on line 148 that does not have a matching }
BUT when I add a bracket thing it still has an error!!! What do i do!!??

SKYANNE
(What should I wear today?)
choice
“olive top and shorts” { <LINE 148

@SKYANNE exits right
@SKYANNE changes into olive top and shorts
@pause for a beat
@SKYANNE enters from right to screen right

gain olive top and shorts

} “skirt” {

@SKYANNE exits right
@SKYANNE changes into skirt
@pause for a beat
@SKYANNE enters from right to screen right

gain skirt

} “yellow floral dress” {

@SKYANNE exits right
@SKYANNE changes into yellow floral dress
@pause for a beat
@SKYANNE enters from right to screen right

gain yellow floral dress
}
if (olive top and shorts) {

@SKYANNE changes into olive top and shorts

} elif (skirt) {

@SKYANNE changes into skirt

}

else {

@SKYANNE changes into yellow floral dress

}


#2

Try capitalizing the first letter of each outfit? I’m not sure if it’s the same but I’ve had that problem if I don’t capitalize the first letter when someone is speaking.


#3

Gain names cannot be more than 1 word or have spaces. They can only have letters, numbers, and underscores.

Change gain olive top and shorts

to this:
gain olive_top_and_shorts

And then fix any other gain names like that.


#4

It worked!! Thank you so much!


#5

while I was previewing, when she changed into the clothes it was all jumbled. you couldn’t even see the outfits. @Dara.Amarie


#6

Okay so the way you coded the dressing game is a little bit weird. You don’t need to if/elif/else right after the choice. Here try using the template:


#7

okay I will try it. I got the template from someone else’s answer to someone that was struggling with this choice branch as well.


#8

@Dara.Amarie what is the label line? " label dressin_ggame_1"


#9

It’s to label the dressing game so that if you want to try on the other outfits, you go back to that label and restart the dressing game.


#10

And I just add that to my script is all?


#11

It’s already part of the template.


#12

thanks for your help!


#13

#14

Topic closed due to one month of inactivity.