So basically I have a dressing game template with three outfit choices, but for some reason whenever I move on to the next scene after choosing an outfit, it automatically defaults to outfit #3 even if I choose outfit 1 or outfit 2. I’ve tried everything to fix the coding but nothing is making sense to me. Can someone please help me figure out why it’s doing this? Here’s my script for reference!
label dressing_game_1
LUNA (talk_think_neutral)
What should I wear today?
choice (DAYOUTFIT)
“Outfit 1” { @LUNA changes into LUNA_dayoutfit1
Yes, that code should replace the if/elif/else. If you wanted to do a flashback scene or something of the sort, that’s when the if/elif/else code would come into play. But it isn’t necessary to keep that section of the code if you don’t need it.
Are you using the web preview on the portal to test this? It won’t remember choices, check it on the app. Also, she will stay in the chosen outfit until you tell the script to change it. So you don’t actually need the if/elif/else straight after the dress game.
In the if sections you need to use “outfit 1” NOT option 1. And you need to do the same for the second option. But you shouldn’t need to use any of this to keep an outfit on a character over different scenes.