If/elif/else code remembering outfits

Oh if you’re taking what I wrote and making them labels, it’s meant to be a character :slight_smile: Can you dm me your script?

Sorry, this is so confusing.
I think I may have to change “CHARACTER” to my characters name?
Screenshot 2021-03-25 at 20.18.50

Just copy and paste exactly what I pasted above. Just change it to your character name.

Oh!!!

It is saying it doesn’t exist again.
Screenshot 2021-03-25 at 20.20.49

Change the “goto label” to the changing into outfit in each branch

.

1 Like

So, its @/CHARACTER changes into tap_outfit_2?

Yes :slight_smile:

No your outfit names

1 Like

Oh right yes, your outfit name lmao. I didn’t realize your outfit name was different. Yeah the name of the outfit not the label :slight_smile:

OK, so I am now more confused… Do you change the outfit name, so its goto “outfit name”, or do you do @/CHARACTER changes into “outfit name”???

Or none?

This

1 Like

If you’re wanting the character to change into your remembered outfits, enter the following directly into your script (in place of what you currently have):

Script

if (EMIKA =1){
@EMIKA changes into ep2EMch
} elif (EMIKA =12){
@EMIKA changes into ep2EMchj
} elif (EMIKA =2){
@EMIKA changes into ep2EMch2j
} elif (EMIKA =22){
@EMIKA changes into ep2EMch3
} else {
@EMIKA changes into ep2EMch3j
}

1 Like

if (CHARACTER =1) {
@CHARACTER changes into Your 1st Outfit no jacket
} elif (CHARACTER =12) {
@CHARACTER changes into Your 1st Outfit with jacket
} elif (CHARACTER =2) {
@CHARACTER changes into Your 2nd Outfit no jacket
} elif (CHARACTER =22) {
@CHARACTER changes into Your 2nd Outfit with jacket
} elif (CHARACTER =3) {
@CHARACTER changes into Your 3rd Outfit no jacket
} else {
@CHARACTER changes into Your 3rd Outfit with jacket
}

2 Likes

Thank you both for helping me! Both of your versions worked! Thank you, Dara!

1 Like

hey please help me with it.
Screenshot (110)

1 Like

in else u don’t need to write (DIANA =4)

1 Like

Oh thank you so much :heart: :blush:

1 Like