Script Issue: Extended Closet for Gems

I used Dara’s tappable outfit script and edited it so that the readers get to see the full closet including the gem outfits and can then decide whether or not they want the additional gem outfits.

I want the gem overlay to pop up whenever a gem outfit appears (outfits number 4 through 9 so ANALI4 through ANALI9).

Issue: Gem overlay is never showing up even though I write opacity 0 and opacity 1 depending on the outfit. Is it maybe because the gem overlay switches to opacity 1 consecutively or something? The overlay has been approved.


Outfit 1 (ANALI_default): no gem

Outfit 4 (ANALI4): should have a gem here (but it’s not showing up with the &ui GEM opacity 1 in 0.1)

Script
    NARRATOR
Time to change your outfit for work.
Would you like to purchase an extended closet with an additional 6 gem outfits?

label look_at_work_closet
&ui ARROWLEFT create and ui ARROWLEFT opacity 1 in 0 and ui 6640974372143104_ARROWLEFT shifts to 0 251 in zone 1 and ui 6640974372143104_ARROWLEFT scales to 0.208 0.208 and ui 6640974372143104_ARROWLEFT moves to layer 6
&ui ARROWRIGHT create and ui ARROWRIGHT opacity 1 in 0 and ui 6640974372143104_ARROWRIGHT shifts to 245 248 in zone 1 and ui 6640974372143104_ARROWRIGHT scales to 0.208 0.208 and ui 6640974372143104_ARROWRIGHT moves to layer 6
&ui DONOT create
&ui DONOT shifts to 29 59 in zone 1
&ui DONOT scales to 1.000 1.000
&ui DONOT to layer 11
&ui BUY create
&ui BUY shifts to 14 136 in zone 1
&ui BUY scales to 1.000 1.000
&ui BUY to layer 12
&ui GEM create
&ui GEM shifts to 30 397 in zone 1
&ui GEM scales to 0.568 0.568
&ui GEM rotates 0 anchor point 0.0 0.0
@ui GEM to layer 14

tappable
“ARROWLEFT” {
&ui BUY opacity 1 in 0.1
&ui DONOT opacity 1 in 0.1
&ui GEM opacity 1 in 0.1
goto tap_outfit_5
} “ARROWRIGHT” {
&ui BUY opacity 1 in 0.1
&ui DONOT opacity 1 in 0.1
goto tap_outfit_1
}

&ui GEM opacity 0 in 0.1
label tap_outfit_1
@ANALI =1
@ANALI changes into ANALI_default

tappable
“ARROWLEFT” {
goto tap_outfit_5
} “ARROWRIGHT” {
goto tap_outfit_2
} “BUY” {
goto buy_work_clothes
} “DONOT” {
goto do_not_buy_work_clothes
}

label tap_outfit_2
@ANALI =2
@ANALI changes into ANALI2

tappable
“ARROWLEFT” {
goto tap_outfit_1
} “ARROWRIGHT” {
goto tap_outfit_3
} “BUY” {
goto buy_work_clothes
} “DONOT” {
goto do_not_buy_work_clothes
}

&ui GEM opacity 0 in 0.1
label tap_outfit_3
@ANALI =3
@ANALI changes into ANALI3

tappable
“ARROWLEFT” {
goto tap_outfit_2
} “ARROWRIGHT” {
goto tap_outfit_4
} “BUY” {
goto buy_work_clothes
} “DONOT” {
goto do_not_buy_work_clothes
}

&ui GEM opacity 1 in 0.1
label tap_outfit_4
@ANALI =4
@ANALI changes into ANALI4

tappable
“ARROWLEFT” {
goto tap_outfit_3
} “ARROWRIGHT” {
goto tap_outfit_5
} “BUY” {
goto buy_work_clothes
} “DONOT” {
goto do_not_buy_work_clothes
}

label tap_outfit_5
@ANALI =5
@ANALI changes into ANALI5

tappable
“ARROWLEFT” {
goto tap_outfit_4
} “ARROWRIGHT” {
goto tap_outfit_6
} “BUY” {
goto buy_work_clothes
} “DONOT” {
goto do_not_buy_work_clothes
}

label tap_outfit_6
@ANALI =6
@ANALI changes into ANALI6

tappable
“ARROWLEFT” {
goto tap_outfit_5
} “ARROWRIGHT” {
goto tap_outfit_7
} “BUY” {
goto buy_work_clothes
} “DONOT” {
goto do_not_buy_work_clothes
}

label tap_outfit_7
@ANALI =7
@ANALI changes into ANALI7

tappable
“ARROWLEFT” {
goto tap_outfit_6
} “ARROWRIGHT” {
goto tap_outfit_8
} “BUY” {
goto buy_work_clothes
} “DONOT” {
goto do_not_buy_work_clothes
}

label tap_outfit_8
@ANALI =8
@ANALI changes into ANALI8

tappable
“ARROWLEFT” {
goto tap_outfit_7
} “ARROWRIGHT” {
goto tap_outfit_9
} “BUY” {
goto buy_work_clothes
} “DONOT” {
goto do_not_buy_work_clothes
}

&ui GEM opacity 1 in 0.1
label tap_outfit_9
@ANALI =9
@ANALI changes into ANALI9

tappable
“ARROWLEFT” {
goto tap_outfit_8
} “ARROWRIGHT” {
goto tap_outfit_1
} “BUY” {
goto buy_work_clothes
} “DONOT” {
goto do_not_buy_work_clothes
}

label buy_work_clothes
&ui ARROWLEFT opacity 0 in 0.1 and ui ARROWRIGHT opacity 0 in 0.1 and ui CHOOSE opacity 0 in 0.1 and ui BUY opacity 0 in 0.1 AND ui DONOT opacity 0 in 0.1 AND ui GEM opacity 0 in 0.1
NARRATOR
Are you sure you want to buy this extended closet?
choice (extended_work_closet) GEMS:8 “Yes!” {
NARRATOR
Enjoy!
gain purchased_work_closet
goto continue_the_story
} “No thanks” {
NARRATOR
You will have 3 work outfits to choose from, but you can always purchase the extended closet later.
gain normal_work_closet
goto continue_the_story
}

Side note: I have been much more active here since restarting progress on my story and the forums has been just as friendly and helpful as I remember it. Thank you all. :blob_hearts:

1 Like

I have no idea if any of this could work, but:


label look_at_work_closet
&ui ARROWLEFT create and ui ARROWLEFT opacity 1 in 0 and ui 6640974372143104_ARROWLEFT shifts to 0 251 in zone 1 and ui 6640974372143104_ARROWLEFT scales to 0.208 0.208 and ui 6640974372143104_ARROWLEFT moves to layer 6

&ui ARROWRIGHT create and ui ARROWRIGHT opacity 1 in 0 and ui 6640974372143104_ARROWRIGHT shifts to 245 248 in zone 1 and ui 6640974372143104_ARROWRIGHT scales to 0.208 0.208 and ui 6640974372143104_ARROWRIGHT moves to layer 6

&ui DONOT create
&ui DONOT shifts to 29 59 in zone 1
&ui DONOT scales to 1.000 1.000
&ui DONOT to layer 11

&ui BUY create
&ui BUY shifts to 14 136 in zone 1
&ui BUY scales to 1.000 1.000
&ui BUY to layer 12

&ui GEM create
&ui GEM shifts to 30 397 in zone 1
&ui GEM scales to 0.568 0.568
&ui GEM rotates 0 anchor point 0.0 0.0
&ui GEM to layer 14

tappable
“ARROWLEFT” {
&ui BUY opacity 1 in 0.1
&ui DONOT opacity 1 in 0.1
&ui GEM opacity 1 in 0.1
goto tap_outfit_5
} “ARROWRIGHT” {
&ui BUY opacity 1 in 0.1
&ui DONOT opacity 1 in 0.1
goto tap_outfit_1
}

label tap_outfit_1

&ui GEM opacity 0 in 0.1

@ANALI =1
@ANALI changes into ANALI_default

tappable
“ARROWLEFT” {

&ui GEM opacity 1 in 0.1

goto tap_outfit_5
} “ARROWRIGHT” {
goto tap_outfit_2
} “BUY” {
goto buy_work_clothes
} “DONOT” {
goto do_not_buy_work_clothes
}

label tap_outfit_2
@ANALI =2
@ANALI changes into ANALI2

tappable
“ARROWLEFT” {
goto tap_outfit_1
} “ARROWRIGHT” {
goto tap_outfit_3
} “BUY” {
goto buy_work_clothes
} “DONOT” {
goto do_not_buy_work_clothes
}

label tap_outfit_3
@ANALI =3
@ANALI changes into ANALI3

tappable
“ARROWLEFT” {
goto tap_outfit_2
} “ARROWRIGHT” {

&ui GEM opacity 1 in 0.1

goto tap_outfit_4
} “BUY” {
goto buy_work_clothes
} “DONOT” {
goto do_not_buy_work_clothes
}

label tap_outfit_4

&ui GEM opacity 1 in 0.1

@ANALI =4
@ANALI changes into ANALI4

tappable
“ARROWLEFT” {

&ui GEM opacity 0 in 0.1

goto tap_outfit_3
} “ARROWRIGHT” {

&ui GEM opacity 1 in 0.1

goto tap_outfit_5
} “BUY” {
goto buy_work_clothes
} “DONOT” {
goto do_not_buy_work_clothes
}

label tap_outfit_5
@ANALI =5
@ANALI changes into ANALI5

tappable
“ARROWLEFT” {
goto tap_outfit_4
} “ARROWRIGHT” {
goto tap_outfit_6
} “BUY” {
goto buy_work_clothes
} “DONOT” {
goto do_not_buy_work_clothes
}

label tap_outfit_6
@ANALI =6
@ANALI changes into ANALI6

tappable
“ARROWLEFT” {
goto tap_outfit_5
} “ARROWRIGHT” {
goto tap_outfit_7
} “BUY” {
goto buy_work_clothes
} “DONOT” {
goto do_not_buy_work_clothes
}

label tap_outfit_7
@ANALI =7
@ANALI changes into ANALI7

tappable
“ARROWLEFT” {
goto tap_outfit_6
} “ARROWRIGHT” {
goto tap_outfit_8
} “BUY” {
goto buy_work_clothes
} “DONOT” {
goto do_not_buy_work_clothes
}

label tap_outfit_8
@ANALI =8
@ANALI changes into ANALI8

tappable
“ARROWLEFT” {
goto tap_outfit_7
} “ARROWRIGHT” {
goto tap_outfit_9
} “BUY” {
goto buy_work_clothes
} “DONOT” {
goto do_not_buy_work_clothes
}

label tap_outfit_9

&ui GEM opacity 1 in 0.1

@ANALI =9
@ANALI changes into ANALI9

tappable
“ARROWLEFT” {
goto tap_outfit_8
} “ARROWRIGHT” {

&ui GEM opacity 0 in 0.1

goto tap_outfit_1
} “BUY” {
goto buy_work_clothes
} “DONOT” {
goto do_not_buy_work_clothes
}


1 Like

OMG YES! I see how you changed where the GEM opacity commands are. It worked! Thank you so, so much. You’ve helped me so much today holy moly.

1 Like

I’m glad and you’re always welcome! 🩶🩶

1 Like