Hi! So, one of my characters is supposed to go to a mall, choose an outfit, and it would be worn in a different episode. How do I “remember” the outfit choice for that episode?
use if elif else
Mind showing me in “code style”, please?
u use the same code you did in the last episode
sure
shes asking for the next episode thats just for one
Oops, sorry I’ll take that down
whats ur code
LOL i made the same mistake dont worry girl friend we make mistakes
I need to learn to read again aparently, lol
LOL
The code for the outfits?
the code you used in the previous episode that you want for the next one
choice
“Simple Blue”{
@KIRA walks to spot 1.278 375 -37
@KIRA changes into KIRA_fancy_blue
@pause for 3
}
“Fancy Pink”{
@KIRA walks to spot 1.278 375 -42
@KIRA changes into KIRA_fancy_green
@ause for 3
}
@KIRA walks to spot 1.278 160 -37
@pause for 3
KIRA (talk_excited)
How's this one
JAII (talk_flirt)
You look beautiful.
KIRA (talk_happy_agree)
Let's check out the other one
choice
“Pick this one”{
KIRA (admire)
I love it.
}
“Try another one”{
goto choosing_outfits
}
its 11:05PM for me so if it takes me long to reply its because i fell asleep so someone else might help you, but if they don;t i still will ok?
Lol it’s no p!
But thanks anyway
choice
“Simple Blue”{
@KIRA walks to spot 1.278 375 -37
@KIRA changes into KIRA_fancy_blue
@pause for 3
@KIRA walks to spot 1.278 160 -37
@pause for 3
KIRA (talk_excited)
How’s this one
JAII (talk_flirt)
You look beautiful.
choice “Wear this one”{
gain Simple_Blue
}“Try another one”{
goto choosing_outfits
}
}
“Fancy Pink”{
@KIRA walks to spot 1.278 375 -42
@KIRA changes into KIRA_fancy_green
@pause for 3
@KIRA w***emphasized text
***alks to spot 1.278 160 -37
@pause for 3
KIRA (talk_excited)
How’s this one
JAII (talk_flirt)
You look beautiful.
choice “Wear this one”{
gain Fancy_Pink
}“Try another one”{
goto choosing_outfits
}
}
Then later when you want to reference it you use if/elif/else
Check out:
P.S For dressing games, the choice name and option method is more preferred over gains (and much less work). Read more here: Using if/elif/else to Remember Past Choices
OMG thank you so much!
Though, how do you use if/elif/else?