Having trouble with remembering a choice

Hey so I’m making a dressing game using Dara Amarie’s template.( SIMPLE ARROWS DRESSING GAME) I changed a characters outfit but now I am trying to change it back to what the reader chose before. I’m just not really sure how to. I’d appreciate it if you helped me out x

Here’s my coding. I’m not sure how to use choice naming for it.

# ARROWS DRESSING GAME - 5 OUTFITS {

&ui LEFT_ARROW_WHITE create and ui LEFT_ARROW_WHITE scales to 0.8 0.8 in 0 and ui LEFT_ARROW_WHITE shifts to 7 187 in 0 and ui LEFT_ARROW_WHITE opacity 1 in 0
&ui RIGHT_ARROW_WHITE create and ui RIGHT_ARROW_WHITE scales to 0.8 0.8 in 0 and ui RIGHT_ARROW_WHITE shifts to 250 187 in 0 and ui RIGHT_ARROW_WHITE opacity 1 in 0
&ui CHOOSE_SLATE_STYLE create and ui CHOOSE_SLATE_STYLE scales to 0.4 0.4 in 0 and ui CHOOSE_SLATE_STYLE shifts to 112 119 in 0 and ui CHOOSE_SLATE_STYLE opacity 0 in 0
tappable
"LEFT_ARROW_WHITE" {
&ui CHOOSE_SLATE_STYLE opacity 0.8 in 0.1
goto tap_outfit_5
} "RIGHT_ARROW_WHITE" {
&ui CHOOSE_SLATE_STYLE opacity 0.8 in 0.1
goto tap_outfit_1
}


label tap_outfit_1
@AMAYA =1
################## CHANGE OUTFIT NAME TO YOUR 1ST OUTFIT ###############
@AMAYA changes into AMAYA_event23
@AMAYA changes hair into Long Feathered Bangs Blunt

tappable
"LEFT_ARROW_WHITE" {
goto tap_outfit_5
} "RIGHT_ARROW_WHITE" {
goto tap_outfit_2
} "CHOOSE_SLATE_STYLE" {
goto tap_outfit_CHOOSE_SLATE_STYLE
}

label tap_outfit_2
@AMAYA =2
################## CHANGE OUTFIT NAME TO YOUR 2ND OUTFIT ###############
@AMAYA changes into AMAYA_event21

tappable
"LEFT_ARROW_WHITE" {
goto tap_outfit_1
} "RIGHT_ARROW_WHITE" {
goto tap_outfit_3
} "CHOOSE_SLATE_STYLE" {
goto tap_outfit_CHOOSE_SLATE_STYLE
}

label tap_outfit_3
@AMAYA =3
################## CHANGE OUTFIT NAME TO YOUR 3RD OUTFIT ###############
@AMAYA changes into AMAYA_event15

tappable
"LEFT_ARROW_WHITE" {
goto tap_outfit_2
} "RIGHT_ARROW_WHITE" {
goto tap_outfit_4
} "CHOOSE_SLATE_STYLE" {
goto tap_outfit_CHOOSE_SLATE_STYLE
}

label tap_outfit_4
@AMAYA =4
################## CHANGE OUTFIT NAME TO YOUR 4TH OUTFIT ###############
@AMAYA changes into AMAYA_event11

tappable
"LEFT_ARROW_WHITE" {
goto tap_outfit_3
} "RIGHT_ARROW_WHITE" {
goto tap_outfit_5
} "CHOOSE_SLATE_STYLE" {
goto tap_outfit_CHOOSE_SLATE_STYLE
}

label tap_outfit_5
@AMAYA =5
################## CHANGE OUTFIT NAME TO YOUR 5TH OUTFIT ###############
@AMAYA changes into AMAYA_event10
@AMAYA changes hair into Long Feathered Bangs Blunt

tappable
"LEFT_ARROW_WHITE" {
goto tap_outfit_4
} "RIGHT_ARROW_WHITE" {
goto tap_outfit_1
} "CHOOSE_SLATE_STYLE" {
goto tap_outfit_CHOOSE_SLATE_STYLE
}




label tap_outfit_CHOOSE_SLATE_STYLE
&ui LEFT_ARROW_WHITE opacity 0 in 0.1 and ui RIGHT_ARROW_WHITE opacity 0 in 0.1 and ui CHOOSE_SLATE_STYLE opacity 0 in 0.1
@AMAYA is primp_neutral
        NARRATOR
    Are you sure you want to wear this outfit?
choice
<PREMIUM> "Yes!" {
readerMessage Follow @dara.amarie.ep on Instagram! with messageTitle Arrows Dressing Game Template Credit
@AMAYA is kiss_blow_happy_atcamera
} "No, let me try the others" {
&AMAYA starts idle and ui LEFT_ARROW_WHITE opacity 1 in 0.1 and ui RIGHT_ARROW_WHITE opacity 1 in 0.1 and ui CHOOSE_SLATE_STYLE opacity 0.8 in 0.1
if (AMAYA =1) {
goto tap_outfit_1
} elif (AMAYA =2) {
goto tap_outfit_2
} elif (AMAYA =3) {
goto tap_outfit_3
} elif (AMAYA =4) {
goto tap_outfit_4
} else {
goto tap_outfit_5
}
}

# ARROWS DRESSING GAME - 5 OUTFITS }

If I were you, I’d use the point system already implemented in the template. You’ve got a template to use for it already, too:

Just make sure to change the gotos into whatever your outfits are.

Moreover, you can’t use named choices with tappables (as far as I know), so points or gains are the way to go (but points is my most recommended here)

1 Like

I was trying to use points but then it wasn’t working for some reason. :face_with_head_bandage: Don’t mind the #s. It would just always change back to one of the outfits instead of what the reader chose.

#if (CHARACTER = 1) {
#@AMAYA changes into AMAYA_event23

#} elif (CHARACTER = 2) {
#@AMAYA changes into AMAYA_event21

#} elif (CHARACTER = 3) {
#@AMAYA changes into AMAYA_event15

#} elif (CHARACTER = 4) {
#@AMAYA changes into AMAYA_event11

#} else {
#@AMAYA changes into AMAYA_event10

#}

In the above example, you’ve got point values 6, 7, 8, and 9. If you’re using the same template for what you just showed me, you need to change those values to match, otherwise it will always automatically choose the else option (if there is one) or the first option if there isn’t an else option.

Oops I put in the wrong one I was using sorry lol. I did the dressing game twice in the episode.

This is the one I was trying to use sorry for the confusion I’ll fix it

# ARROWS DRESSING GAME - 5 OUTFITS {

&ui LEFT_ARROW_WHITE create and ui LEFT_ARROW_WHITE scales to 0.8 0.8 in 0 and ui LEFT_ARROW_WHITE shifts to 7 187 in 0 and ui LEFT_ARROW_WHITE opacity 1 in 0
&ui RIGHT_ARROW_WHITE create and ui RIGHT_ARROW_WHITE scales to 0.8 0.8 in 0 and ui RIGHT_ARROW_WHITE shifts to 250 187 in 0 and ui RIGHT_ARROW_WHITE opacity 1 in 0
&ui CHOOSE_SLATE_STYLE create and ui CHOOSE_SLATE_STYLE scales to 0.4 0.4 in 0 and ui CHOOSE_SLATE_STYLE shifts to 112 119 in 0 and ui CHOOSE_SLATE_STYLE opacity 0 in 0
tappable
"LEFT_ARROW_WHITE" {
&ui CHOOSE_SLATE_STYLE opacity 0.8 in 0.1
goto tap_outfit_5
} "RIGHT_ARROW_WHITE" {
&ui CHOOSE_SLATE_STYLE opacity 0.8 in 0.1
goto tap_outfit_1
}


label tap_outfit_1
@AMAYA =1
################## CHANGE OUTFIT NAME TO YOUR 1ST OUTFIT ###############
@AMAYA changes into AMAYA_event23
@AMAYA changes hair into Long Feathered Bangs Blunt

tappable
"LEFT_ARROW_WHITE" {
goto tap_outfit_5
} "RIGHT_ARROW_WHITE" {
goto tap_outfit_2
} "CHOOSE_SLATE_STYLE" {
goto tap_outfit_CHOOSE_SLATE_STYLE
}

label tap_outfit_2
@AMAYA =2
################## CHANGE OUTFIT NAME TO YOUR 2ND OUTFIT ###############
@AMAYA changes into AMAYA_event21

tappable
"LEFT_ARROW_WHITE" {
goto tap_outfit_1
} "RIGHT_ARROW_WHITE" {
goto tap_outfit_3
} "CHOOSE_SLATE_STYLE" {
goto tap_outfit_CHOOSE_SLATE_STYLE
}

label tap_outfit_3
@AMAYA =3
################## CHANGE OUTFIT NAME TO YOUR 3RD OUTFIT ###############
@AMAYA changes into AMAYA_event15

tappable
"LEFT_ARROW_WHITE" {
goto tap_outfit_2
} "RIGHT_ARROW_WHITE" {
goto tap_outfit_4
} "CHOOSE_SLATE_STYLE" {
goto tap_outfit_CHOOSE_SLATE_STYLE
}

label tap_outfit_4
@AMAYA =4
################## CHANGE OUTFIT NAME TO YOUR 4TH OUTFIT ###############
@AMAYA changes into AMAYA_event11

tappable
"LEFT_ARROW_WHITE" {
goto tap_outfit_3
} "RIGHT_ARROW_WHITE" {
goto tap_outfit_5
} "CHOOSE_SLATE_STYLE" {
goto tap_outfit_CHOOSE_SLATE_STYLE
}

label tap_outfit_5
@AMAYA =5
################## CHANGE OUTFIT NAME TO YOUR 5TH OUTFIT ###############
@AMAYA changes into AMAYA_event10
@AMAYA changes hair into Long Feathered Bangs Blunt

tappable
"LEFT_ARROW_WHITE" {
goto tap_outfit_4
} "RIGHT_ARROW_WHITE" {
goto tap_outfit_1
} "CHOOSE_SLATE_STYLE" {
goto tap_outfit_CHOOSE_SLATE_STYLE
}




label tap_outfit_CHOOSE_SLATE_STYLE
&ui LEFT_ARROW_WHITE opacity 0 in 0.1 and ui RIGHT_ARROW_WHITE opacity 0 in 0.1 and ui CHOOSE_SLATE_STYLE opacity 0 in 0.1
@AMAYA is primp_neutral
        NARRATOR
    Are you sure you want to wear this outfit?
choice
<PREMIUM> "Yes!" {
readerMessage Follow @dara.amarie.ep on Instagram! with messageTitle Arrows Dressing Game Template Credit
@AMAYA is kiss_blow_happy_atcamera
} "No, let me try the others" {
&AMAYA starts idle and ui LEFT_ARROW_WHITE opacity 1 in 0.1 and ui RIGHT_ARROW_WHITE opacity 1 in 0.1 and ui CHOOSE_SLATE_STYLE opacity 0.8 in 0.1
if (AMAYA =1) {
goto tap_outfit_1
} elif (AMAYA =2) {
goto tap_outfit_2
} elif (AMAYA =3) {
goto tap_outfit_3
} elif (AMAYA =4) {
goto tap_outfit_4
} else {
goto tap_outfit_5
}
}

# ARROWS DRESSING GAME - 5 OUTFITS }

When did you put this in your script (the point coding following the game)? Like, where is it in relation to the game? Right after? A bit after?

I had my character go to another scene at a party after the dressing game, then another scene where they were in a different outfit in a flashback sort of, and then back to the party. I put the dressing game in at line 613 and tried to get her to change back to the outfit the reader chose at line 1648. Does that answer your question

Okay. In between those do you ever alter character points again or have the second dressing game?

Yeah right after I have a tappable dressing game for her hair too to choose the hairstyle. I didn’t realize it could mess up the points

hairstyle dressing game code
# ARROWS DRESSING GAME - 6 OUTFITS {

&ui LEFT_ARROW_WHITE create and ui LEFT_ARROW_WHITE scales to 0.8 0.8 in 0 and ui LEFT_ARROW_WHITE shifts to 7 187 in 0 and ui LEFT_ARROW_WHITE opacity 1 in 0
&ui RIGHT_ARROW_WHITE create and ui RIGHT_ARROW_WHITE scales to 0.8 0.8 in 0 and ui RIGHT_ARROW_WHITE shifts to 250 187 in 0 and ui RIGHT_ARROW_WHITE opacity 1 in 0
&ui CHOOSE_SLATE_STYLE create and ui CHOOSE_SLATE_STYLE scales to 0.4 0.4 in 0 and ui CHOOSE_SLATE_STYLE shifts to 112 119 in 0 and ui CHOOSE_SLATE_STYLE opacity 0 in 0

tappable
"LEFT_ARROW_WHITE" {
&ui CHOOSE_SLATE_STYLE opacity 0.8 in 0.1
goto tap_outfit_19
} "RIGHT_ARROW_WHITE" {
&ui CHOOSE_SLATE_STYLE opacity 0.8 in 0.1
goto tap_outfit_15
}


label tap_outfit_15
@AMAYA =15
################## CHANGE OUTFIT NAME TO YOUR 15TH OUTFIT ###############
@AMAYA changes hair into Long Straight Loose Bangs Blunt Solid

tappable
"LEFT_ARROW_WHITE" {
goto tap_outfit_20
} "RIGHT_ARROW_WHITE" {
goto tap_outfit_16
} "CHOOSE_SLATE_STYLE" {
goto tap_outfit_CHOOSE_SLATE_STYLE_4
}

label tap_outfit_16
@AMAYA =16
################## CHANGE OUTFIT NAME TO YOUR 16TH OUTFIT ###############
@AMAYA changes hair into Updo High Twist Bangs Blunt

tappable
"LEFT_ARROW_WHITE" {
goto tap_outfit_15
} "RIGHT_ARROW_WHITE" {
goto tap_outfit_17
} "CHOOSE_SLATE_STYLE" {
goto tap_outfit_CHOOSE_SLATE_STYLE_4
}

label tap_outfit_17
@AMAYA =17
################## CHANGE OUTFIT NAME TO YOUR 17TH OUTFIT ###############
@AMAYA changes hair into Pinup Victory Rolls

tappable
"LEFT_ARROW_WHITE" {
goto tap_outfit_16
} "RIGHT_ARROW_WHITE" {
goto tap_outfit_18
} "CHOOSE_SLATE_STYLE" {
goto tap_outfit_CHOOSE_SLATE_STYLE_4
}

label tap_outfit_18
@AMAYA =18
################## CHANGE OUTFIT NAME TO YOUR 18TH OUTFIT ###############
@AMAYA changes hair into Long Feathered Bangs Blunt

tappable
"LEFT_ARROW_WHITE" {
goto tap_outfit_17
} "RIGHT_ARROW_WHITE" {
goto tap_outfit_19
} "CHOOSE_SLATE_STYLE" {
goto tap_outfit_CHOOSE_SLATE_STYLE_4
}

label tap_outfit_19
@AMAYA =19
################## CHANGE OUTFIT NAME TO YOUR 19TH OUTFIT ###############
@AMAYA changes hair into Long Wavy Loose Bangs Sideswept

tappable
"LEFT_ARROW_WHITE" {
goto tap_outfit_18
} "RIGHT_ARROW_WHITE" {
goto tap_outfit_20
} "CHOOSE_SLATE_STYLE" {
goto tap_outfit_CHOOSE_SLATE_STYLE_4
}

label tap_outfit_20
@AMAYA =20
################## CHANGE OUTFIT NAME TO YOUR 20TH OUTFIT ###############
@AMAYA changes hair into Updo

tappable
"LEFT_ARROW_WHITE" {
goto tap_outfit_19
} "RIGHT_ARROW_WHITE" {
goto tap_outfit_15
} "CHOOSE_SLATE_STYLE" {
goto tap_outfit_CHOOSE_SLATE_STYLE_4
}

label tap_outfit_CHOOSE_SLATE_STYLE_4
&ui LEFT_ARROW_WHITE opacity 0 in 0.1 and ui RIGHT_ARROW_WHITE opacity 0 in 0.1 and ui CHOOSE_SLATE_STYLE opacity 0 in 0.1
@AMAYA is primp_neutral
        NARRATOR
    Do you want to keep your hair right like this?
choice
<PREMIUM> "Yes!" {
readerMessage Follow @dara.amarie.ep on Instagram! with messageTitle Arrows Dressing Game Template Credit
@AMAYA is kiss_blow_happy_atcamera
} "No, let me try the others" {
&AMAYA starts idle and ui LEFT_ARROW_WHITE opacity 1 in 0.1 and ui RIGHT_ARROW_WHITE opacity 1 in 0.1 and ui CHOOSE_SLATE_STYLE opacity 0.8 in 0.1
if (AMAYA =15) {
goto tap_outfit_15
} elif (AMAYA =16) {
goto tap_outfit_16
} elif (AMAYA =17) {
goto tap_outfit_17
} elif (AMAYA =18) {
goto tap_outfit_18
} elif (AMAYA =19) {
goto tap_outfit_19
} elif (AMAYA =20) {
goto tap_outfit_20
} else {
goto tap_outfit_15
}
}

# ARROWS DRESSING GAME - 6 OUTFITS }

Yeah, that’d be why. My suggestion then would be, right after the dressing game, use gains with the points (like this):

if (AMAYA= 1) {
gain AMAYA_event23
} elif (AMAYA= 2) {
gain AMAYA_event21
} elif (AMAYA= 3) {
gain AMAYA_event15
} elif (AMAYA= 4) {
gain AMAYA_event11
} else {
gain AMAYA_event10
}

And then later, when the party comes around…

if (AMAYA_event23){
@AMAYA changes into AMAYA_event23
}elif (AMAYA_event21){
@AMAYA changes into AMAYA_event21
}elif (AMAYA_event15){
@AMAYA changes into AMAYA_event15
}elif (AMAYA_event11){
@AMAYA changes into AMAYA_event11
}else{
@AMAYA changes into AMAYA_event10
}
1 Like

Thank you so much!! I did that with the hairstyle coding too and it worked. :slight_smile:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.