Remembering choices issue


#1

Hey everyone I need some help please…
I am just recently trying to use gains to remember past choices, the first few times I used it, it worked fine, but for some reason now, its not working like it should…
at first I had it like this

choice
“Silver Dress”{

@JADE changes into JADE_silverdress

gain Silver_Dress

}
“Blue Dress”{

@JADE changes into JADE_bluedress

gain Blue_Dress

}
“White Dress”{

@JADE changes into JADE_whitedress

gain White_Dress

}

later in the chapter

if(Silver Dress){
@JADE changes into JADE_silverdress

}elif(Blue Dress){

@JADE changes into JADE_bluedress

}else{

@JADE changes into JADE_whitedress

}

but it always no matter what choice always does the white dress…

so i changed it to

choice (club outfit)
With all the same choices

and the gains look like this

if(club outfit is “Silver Dress”){
}
elif(club outfit is “Blue Dress”){
}
else{

}

but it still always goes to the white dress, What am I doing wrong?

Thank you


#2

Because while putting in gain you wrote Silver_dress but in if it just silver dress it was missing this _ sign


#3

Hello @pixiegirl, this is Sydney the Moderator.

This topic has been moved into Directing Helps and Tips since it involves coding/scripting. If you have any questions, feel free to PM me and make sure to check out our Forum Tutorial for more info about where to correctly create topics. :wink:

Thanks for reading and have a good day :sunglasses:


#4

I looked at my script and I did put in Silver_Dress, I just miss typed I was tired… LOL

but I decided to move my choices around and no matter what is in the last section of

}else{

}
this is the one it always goes to… I have watched so many advanced choices tutorials and read so many tips but I can’t get it fixed, I don’t know what to do!


#5

Okay try like this
if( Silver_dress) { blah}
Delete club outfit is😅 maybe


#6

I’ll try it this way again, I had it like that at first and it was doing the same thing, and after watching tutorials and reading tips it said to throw in a choice name, which is how I have it now, but it’s doing the same thing.


#7

I didn’t saw tutorial :sweat_smile: I just type whatever I think maybe work​:sweat_smile: (maybe that’s a bad idea,lol)


#8

does it matter that I have 2 outfit changes where the outfits need remembered? the first one seems to work fine and I have done them both the same way!


#9

If your gains are different , I don’t think it will have problems :thinking:


#10

Yes they are different! I may just need to delete the second one and leave it out!


#11

Are you reading on Episode app? If not , you can try that too


#12

I’m proofing it on my chrome book and also my phone, it does it on both, which makes me believe i have an error somewhere, but it doesn’t tell me I have an error, it just automatically changes into what is in the else{ spot.


#13

Here’s the template for the dressing game with gains :slight_smile:

Don’t forget to reset your story progress when you want to test all the options :slight_smile:


#14

Try what is telling @apes , maybe that will work🤔


#15

I normally do something like this to choose and outfit to wear, for the day! I will try it and do it differently than I originally had it.

thanks so much for all your all’s help!


#16

Tell us if it works or not​:hugs: hope it works :upside_down_face:


#17

It didn’t work :sob: It still goes to the white dress no mater what choice


#18

Did you try resetting your story or update script :thinking:


#19

What do you mean by resetting? I always hit save & preview


#20

Okay…and now I am clueless why it isn’t working :sweat: