Hi!
My current code is
if (MC_BAR is MC =1){
@MC changes into MC_BAR2
}elif (MC_BAR is MC =2){
@MC changes into MC_BAR3
}elif (MC_BAR is MC =3){
@MC changes into MC_BAR
}
to remember an outfit choice from the first episode. The choice name is MC_BAR, I’m using the three arrows dressing game.
This is the fifth episode, and there are two dressing games in between them, none of which use those outfits. The last one seems to be transferring over to this code, even though the choices have different names, and the outfits have different names. Is there a way to reset the MC=1,2, and 3 thing to make it work? It’s worked in the 6th episode I started coding to remember a different outfit choice so I’m not sure why it’s not working now.
Because you’re on the fifth episode, I’m guessing this is a published story and not one you’re previewing? If you are still previewing it, make sure that your character points are set correctly in memory, and also try it in the app if you’re only using the web previewer, the web previewer can mess stuff up sometimes…
Aside from that… I tried testing it out, but for some reason the app wouldn’t let me preview it (idek honestly,) so I guess I have this question: Are you sure you can check choice answers using points like that?
Theoretically, if I understand what you’re doing (checking that the answer to choice MC_BAR was MC =3), changing the MC points in between shouldn’t matter at all…? Because you’re not checking what the current MC point value is, are you?
Sorry for the questions, I’ve just never seen it done like this, but I’ve also never used tappable overlays before, so I really don’t know how all this works, ha. I’m guessing the choice name is on the final confirm, though, not the overlays?
EDIT: I got the web previewer to work, lol i was using the black background, which is notorious for messing up overlays… And the test code I put in using the same format of MC_BAR is MC =2 doesn’t seem to work for me! Maybe that’s your problem?
1 Like
Yes, the choice name is on the final confirm. It’s an outfit choice that is remembered for episodes 2 and 3, and the code worked fine for those two, so I’m not sure why it’s messing up now.
Episodes 1-4 are published, 5 is being worked on now. When I go in app, it still shows up with the wrong outfit on episode 5, even when I update script and restart the whole episode from episode 1. It’s only for a very brief flashback that I was using the outfit in episode 5, in a montage sequence, so I might just pick my favorite outfit if I keep having issues, but I wanted it to feature what the readers picked. 
1 Like
the code also doesn’t work for you most likely because you don’t have an outfit named that. unless you do?
I just used the name “outfit” for the choice and swapped in my character’s name! And then I put an animation and a piece of dialogue inside the if statement, but when I do it, it goes into my else statement instead of any of the elifs… 
But it must’ve been working for the other episodes…? Unless it coincidentally went to the right outfit?? That’s really weird. I’m sorry, I’ll look at it some more, but I don’t know if I can help. Maybe you could ask Dara, if you’re using her template? 
2 Likes
Thank you for trying! I’m still waiting on a background to be approved so I have so time to troubleshoot, but in the meantime, I think I’ll add a placeholder of just one of the outfits?
But thanks for your help!