Remembering a choice for clothing

I know I am doing something wrong but my brain is acting like a zombie right now and I can’t figure it out (though I am sure it is simple). So I need your brains to help.

I am trying to do remember clothing choice from 3 outfits. Every time the script continues it is always the last choice. So I am confused…

This is the script I am using:

if (dressing_game1 is “Shorts”) {

@LEANNA changes into Leanna-shorts1

} elif (dressing_game1 is “Dress”) {

@LEANNA changes into Leanna-Dress

} else {

@LEANNA changes into Leanna-pants1

}

Please help my brain

What do your previous 3 choices say? Can you post them (the outfit choices)? :thinking:

Also, make sure you are resetting your story progress when you’re testing out other pathways/choice options :smile:

1 Like

Please tell me how to reset it. I tried looking it up on here because I thought maybe that was the issue but I could not find it lol

label 1_dressinggame

    LEANNA
What do I want to wear?

choice
“Shorts” {

@LEANNA changes into Leanna-shorts1

goto confirm_dg1

} “Dress” {

@LEANNA changes into Leanna-Dress

goto confirm_dg1

} “Pants” {

@LEANNA changes into Leanna-pants1

goto confirm_dg1

}

label confirm_dg1

    LEANNA
Do I want to wear this?

choice
“Yes.” {

} “No.” {

goto 1_dressinggame

}

You need that next to choice : )

Thank you!

No problem!

Can check out this: HOW TO: Remember Past Choices (if/elif/else)

I did and got confused.
Sadly moving that next to choice still did not work.
She still just wears the last choice given

Reset your story progress and test it out : )

Check out this on how to reset your story progress:

1 Like

thank you so much for your help

No problem :wink: :cupcake:

Solved and closed. :smiley:

1 Like