How do I get my choice to be remembered


#1

Hi,

How do I let my dressing game choice be remembered in the next episode?

Thanks


#2

It’s best to reference this forum:


#3

#4

Thank you. :slight_smile:


#5

Having trouble with the 3rd one


#6

if (MYA_causal is “Causal”) {
@MYA changes into Outfit1

} elif (MYA_dressy is “Dressy”) {
@MYA changes into Outfit2

} else (MYA_fancy is “fancy”) {
@MYA changes into Outfit3
}


#7

label choosing_outfit

    MYA (think)
(What do I want to wear today?)

choice
“Causal”{

@MYA walks to screen center in zone 3

@MYA changes into MYA_causal

}
“Dressy”{

@MYA walks to screen center in zone 3

@MYA change into MYA_dressy

}
“Fancy”{

@MYA walks to screen center in zone 3

@MYA change into MYA_fancy

}


#8

It’d just be “else” nothing else, like this:

if (MYA_causal is “Causal”) {
@MYA changes into Outfit1

} elif (MYA_dressy is “Dressy”) {
@MYA changes into Outfit2

} else {
@MYA changes into Outfit3
}


#9

} else {


#10

Its tells me oufit 3 doesn’t exist


#11

That’s because you need to change “outfit1”, “outfit2”, and “outfit3” to your actual outfit names.

You also didn’t name your choice.


#12

Actually, looking closely at both your codes, you are not writing the correct format for the if/elif/else. You need to name your choice, and then use that choice name for the if/elif/else.

You should NOT be using the outfit name here: The bolded parts are suppose to be the choice name.


#13

I THINK I DID IT… :rofl::heart: thank you.


#14