Problem with remembering past choices


#1

I have a problem and there is always an error in “else” what is the reason?
And will it be remembered what the reader choose for an outfit?
And is there a remember choice in hair?

Thank you if you could help me.

label dressing_game

    YOU
(What should I wear today?)

choice (OUTFIT_1)
“Outfit 1”{

@YOU walks to upscreen left in zone 3

@YOU changes into YOU_dressdate

#Change the word MC_outfit1 to whatever your first outfit’s filename is - e.g. RACHEL_smart_casual

}
“Outfit 2”{

@YOU walks to upscreen left in zone 3

@YOU changes into YOU_dressdate1

#Change the word MC_outfit2 to whatever your second outfit’s filename is - e.g. RACHEL_winter_clothes

}
“Outfit 3”{

@YOU walks to upscreen left in zone 3

@YOU changes into YOU_dressdate2

}

@YOU walks to screen center in zone 2

@pause for a beat

    YOU (think_rubchin)
(Shall I wear this or try something else?)

choice
“Wear this outfit.”{

    YOU (idle_headbob_neutral_loop)
(This is perfect!)

}
“Try something else.”{

goto dressing_game

}

EXT. KC CAFE - DAY with TABLE CAFE
@YOU stands screen center and YOU faces left
@HE stands screen center
@YOU spot 1.126 235 86
@HE spot 1.132 125 102
@YOU is talk_sit_coy
@HE is talk_sit_neutral_loop

if (OUTFIT_1 is “Option 1”) {
@YOU changes into YOU_dressdate

} elif (OUTFIT_1 is “Option 2”) {
@YOU changes into YOU_dressdate1

}else{


#2

I need to see the code under the else choice


#3
    HE (talk_sit_reassure_happy)
I have the drink for you.

    YOU (talk_sit_neutral_loop)
Thanks.

#4

That’s under else?

Can I see a screenshot of your script


#5

yes wait a minute


#6


#7

I think you should put a } on line 85.


#8

Yeah, thats what I thought.

You haven’t finished the end of the choice:

EXT. KC CAFE - DAY with TABLE CAFE
@YOU stands screen center and YOU faces left
@HE stands screen center
@YOU spot 1.126 235 86
@HE spot 1.132 125 102
@YOU is talk_sit_coy
@HE is talk_sit_neutral_loop

if (OUTFIT_1 is “Option 1”) {
@YOU changes into YOU_dressdate

} elif (OUTFIT_1 is “Option 2”) {
@YOU changes into YOU_dressdate1

}else{

@YOU walks to upscreen left in zone 3

@YOU changes into YOU_dressdate2

}


#9

You need to have your character change into the 3rd outfit after else then close it with an end bracket

} else {
@CHARACTER changes into Outfit
}

Also, in your choice, the options are “Outfit 1”, “Outfit 2”, and “Outfit 3”. But for the if/elif/else you are using “Option 1” and so on. You need to change them to “Outfit 1” and so on.


#10

Thank you @Dara.Amarie @RudeInception @Dr.Smile07 And it’s the same like the hair?


#11

Only if you make the hair choice exactly how you did your outfit choice. If the hair choice is part of a template with labels and gotos then no you can’t remember the hair.


#12

ok thank you