Help with Error with Tappable Overlays

Hi all -

I’m having a rather irritating error popping up in my script and I have no idea how to fix it!
The problem is that I want the reader to select the nearest skin tone to their character so overlays used in the future would accurately represent their customisations skin tone.

With this I wanted to offer a generalised tone rather than the written option ‘light, medium, dark’ etc.

This is my script - but the error keeps saying ‘Overlay animation LIGHT SKIN BUTTON has been created. You’ve created multiple overlays with the same name in your script; any animations will only apply to the most recently created one’

BUT I haven’t created more than one overlay with the same name! This problem is also happening with the MEDIUM SKIN BUTTON and DARK SKIN BUTTON. Script below - please help!

Script

label skin_tone
&overlay LIGHT SKIN BUTTON create
&overlay MEDIUM SKIN BUTTON create
&overlay DARK SKIN BUTTON create
&overlay LIGHT SKIN BUTTON opacity 1 in 1
&overlay MEDIUM SKIN BUTTON opacity 1 in 1
&overlay DARK SKIN BUTTON opacity 1 in 1
&overlay 6643194465615872_MEDIUM SKIN BUTTON shifts to 122 60 in zone 1
&overlay 6643194465615872_MEDIUM SKIN BUTTON scales to 0.422 0.422
&overlay 6643194465615872_LIGHT SKIN BUTTON shifts to 30 60 in zone 1
&overlay 6643194465615872_LIGHT SKIN BUTTON scales to 0.422 0.422
&overlay 6643194465615872_DARK SKIN BUTTON shifts to 212 60 in zone 1
&overlay 6643194465615872_DARK SKIN BUTTON scales to 0.422 0.422

@speechbubble is 160 191 to 100%
NARRATOR
Which best depicts |bold|Bonnie’s |reset| skin tone?

tappable “LIGHT SKIN BUTTON” {

&overlay LIGHT SKIN BUTTON opacity 0 in 1
&overlay MEDIUM SKIN BUTTON opacity 0 in 1
&overlay DARK SKIN BUTTON opacity 0 in 1

    NARRATOR
You have chosen the|bold| light skin |reset| tone.
Does this best respresent Bonnie's skin tone?

choice “Yes - this is most accurate.” {
gain light_skin
goto scene_1
} “I want to choose again.” {
goto skin_tone
}
}“MEDIUM SKIN BUTTON” {

&overlay LIGHT SKIN BUTTON opacity 0 in 1
&overlay MEDIUM SKIN BUTTON opacity 0 in 1
&overlay DARK SKIN BUTTON opacity 0 in 1

    NARRATOR
You have chosen the|bold| medium skin |reset| tone.
Does this best respresent Bonnie's skin tone?

choice “Yes - this is most accurate.” {
gain medium_skin
goto scene_1
} “I want to choose again.” {
goto skin_tone
}
}“DARK SKIN BUTTON” {

&overlay LIGHT SKIN BUTTON opacity 0 in 1
&overlay MEDIUM SKIN BUTTON opacity 0 in 1
&overlay DARK SKIN BUTTON opacity 0 in 1

    NARRATOR
You have chosen the|bold| dark skin |reset| tone.
Does this best represent Bonnie's skin tone?

choice “Yes - this is most accurate.” {
gain dark_skin
goto scene_1
} “I want to choose again.” {
goto skin_tone
}
}

SKIN TONE }

label scene_1

You have to create the overlays before the label skin_tone otherwise each time you go back to that label those overlays will be created over and over again.

OMG - You’re absolutely right!
Silly me!
Thank you so so much!

1 Like

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