Confusing Error Messages - Please lend insight


#1

So I’m a new user and have been trying to make a small story I’ve had in my mind come to life since I downloaded episode. I’m trying to create an outfit change for the player to choose an outfit of their choice before they head to their first day of school. I have used countless guides and even used the outfit choice option in the script templates, but they never work. I would appreciate some advice from users that are more experienced than me. Thank you so much!!


#2

Let me see your code


#3
 INKFEMALEAVATAR (talk_doubtful)
Well, no time to waste. I need to get ready.

Choice - Outfit {

INKFEMALEAVATAR stands screen center
INKFEMALEAVATAR faces right
label dressinggame_1
speechbubble reset

    INKFEMALEAVATAR (think)
(I'd like to wear...)

choice (Outfit 1)
“Something Comfy.”{
INKFEMALEAVATAR previews outfit Outfit 1
INKFEMALEAVATAR is admire
pause for a beat
INKFEMALEAVATAR starts idle

    INKFEMALEAVATAR (idle_happy)
(I look how I feel, tired.)

choice
“Wear this!”{
INKFEMALEAVATAR changes into Outfit 1

gain Outfit 1
#This will let you check if they made this choice later.
goto afterdg1
}
} “I’ll try something else.”{
INKFEMALEAVATAR unpreviews outfit Outfit 1
goto dressinggame_1

}}“Something Warm.”{
INKFEMALEAVATAR previews outfit Outfit 2
INKFEMALEAVATAR is admire
pause for a beat

    INKFEMALEAVATAR (idle_happy)
(This look let's me really feel like me!)

choice
“Wear this!”{
INKFEMALEAVATAR changes into Outfit 2

gain Outfit 2
#This will let you check if they made this choice later.
goto afterdg1

}“I’ll try something else”{
INKFEMALEAVATAR unpreviews outfit Outfit 2
INKFEMALEAVATAR starts idle_arms_crossed
goto dressinggame_1

}

label afterdg1

INKFEMALEAVATAR starts idle_happy

#}

this is the code that the outfit choice suggested for me when I clicked on it. It just says there’s an error with matching { } on the line that says the first “Wear this” but I can’t find a way to fix it.


#4
  1. Gains can’t have spaces in them. So both the gains are invalid. Add an underscore instead of a space.
  2. Make sure you actually have a character named INKFEMALEAVATAR.
  3. Make sure your outfits are named: Outfit 1 and Outfit 2.