I need help please with dressing game

I’m trying to let my readers choose the outfits but the if, elif and else is not working can someone help me.

can you copy and paste your script to the chat.

What’s wrong with it? Like what is it doing/saying?

The text inside the “_” needs to be what the choice is. Not the name of the outfit.
Eg
Choice (outfit)
“Option one”{
}
Etc …

if(outfit is “Option one”){
}

label dressing_game_1

    ALMA
What do I want to wear?

choice (OUTFIT_1)
“Outfit 1” {
@ALMA is dustoff_loop

@ALMA changes into ALMA_EVERYDAY 5

} “Outfit 2” {
@ALMA is dustoff_loop

@ALMA changes into ALMA_EVERYDAY 6

} “Outfit 3” {
@ALMA is dustoff_loop

@ALMA changes into ALMA_EVERYDAY 7
}

@ALMA is idle
@pause for a beat
@pause for a beat

    ALMA (think)
(Should I wear this or try something else?)

choice
“It’s perfect!” {

} “No, I want to try on the others!” {
goto dressing_game_1
}

@pause for a beat

@ALMA is blow_kiss

@ALMA exits left AND ALMA is walk_neutral

INT. ROUGE KITCHEN - DAY with TABLE AMERICAN

if(OUTFIT_1 is “ALMA_EVERYDAY 5”) {
@ALMA changes into ALMA_EVERYDAY 5

}elif(OUTFIT_1 is “ALMA_EVERYDAY 6”) {
@ALMA changes into ALMA_EVERYDAY 6

}else{
@ALMA changes into ALMA_EVERYDAY 7
}

1 Like

It’s not letting the charcter wear the chosen outfit in the next scene

Okay I’ll try that, thank you

Also. You don’t need to use the if/elif/else straight after the dress game, unless you are changing the outfit to something else. The character will stay in the chosen outfit until it is changed again.

It should be like this :slight_smile:

Thank you so much it worked

1 Like

No problem! :heart:

1 Like

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