My Story skips a part of my code

Cameron’s Skin Tone Start {

label Cameron_Skin_Color

NARRATOR

Remind me what skin color [CAMERON] has.

choice (SKIN2)
“Light” {

gain Light_2

goto Story_Starts

} “Light-Medium” {

gain Light_Medium_2

goto Story_Starts

} “Medium” {

gain Medium_2

goto Story_Starts

} “Medium-Dark” {

gain Medium_Dark_2

goto Story_Starts

} “Dark” {

gain Dark_2

goto Story_Starts

}

I’ve done this and then this . . .

if (SKIN2 is “Light_2”) {

EXT. PARK AMPITHEATER - NIGHT with SELFIE MALE 1

&BIANCA spot 1.280 130 -14 AND BIANCA faces left AND BIANCA is kiss_cheek_receive_selfie AND BIANCA moves to layer 1

&CAMERON spot 1.343 230 -13 AND CAMERON faces left AND CAMERON is kiss_cheek_give_selfie AND CAMERON moves to layer 0

NARRATOR

2 New Texts From : Mysterious Girl
So, I’ll wear my fanciest dress, will you?
Hey, can you pick me up? I know it’s lame but I don’t have a driver’s license and I can’t take the bus to where we’re going.
1 New Text From : Bianca Williams
Promise you’ll be at the diner? I don’t want to get caught.

} elif (SKIN2 is “Light_Medium_2”) {

EXT. PARK AMPITHEATER - NIGHT with SELFIE MALE 2

&BIANCA spot 1.280 130 -14 AND BIANCA faces left AND BIANCA is kiss_cheek_receive_selfie AND BIANCA moves to layer 1

&CAMERON spot 1.343 230 -13 AND CAMERON faces left AND CAMERON is kiss_cheek_give_selfie AND CAMERON moves to layer 0

NARRATOR

2 New Texts From : Mysterious Girl
So, I’ll wear my fanciest dress, will you?
Hey, can you pick me up? I know it’s lame but I don’t have a driver’s license and I can’t take the bus to where we’re going.
1 New Text From : Bianca Williams
Promise you’ll be at the diner? I don’t want to get caught.

@pause for a beat

} elif (SKIN2 is “Medium_2”) {

EXT. PARK AMPITHEATER - NIGHT with SELFIE MALE 3

&BIANCA spot 1.280 130 -14 AND BIANCA faces left AND BIANCA is kiss_cheek_receive_selfie AND BIANCA moves to layer 1

&CAMERON spot 1.343 230 -13 AND CAMERON faces left AND CAMERON is kiss_cheek_give_selfie AND CAMERON moves to layer 0

NARRATOR

2 New Texts From : Mysterious Girl
So, I’ll wear my fanciest dress, will you?
Hey, can you pick me up? I know it’s lame but I don’t have a driver’s license and I can’t take the bus to where we’re going.
1 New Text From : Bianca Williams
Promise you’ll be at the diner? I don’t want to get caught.

@pause for a beat

} elif (SKIN2 is “Medium_Dark_2”) {

EXT. PARK AMPITHEATER - NIGHT with SELFIE MALE 4

&BIANCA spot 1.280 130 -14 AND BIANCA faces left AND BIANCA is kiss_cheek_receive_selfie AND BIANCA moves to layer 1

&CAMERON spot 1.343 230 -13 AND CAMERON faces left AND CAMERON is kiss_cheek_give_selfie AND CAMERON moves to layer 0

NARRATOR

2 New Texts From : Mysterious Girl
So, I’ll wear my fanciest dress, will you?
Hey, can you pick me up? I know it’s lame but I don’t have a driver’s license and I can’t take the bus to where we’re going.
1 New Text From : Bianca Williams
Promise you’ll be at the diner? I don’t want to get caught.

@pause for a beat

} elif (SKIN2 is “Dark_2”) {

EXT. PARK AMPITHEATER - NIGHT with SELFIE MALE 5

&BIANCA spot 1.280 130 -14 AND BIANCA faces left AND BIANCA is kiss_cheek_receive_selfie AND BIANCA moves to layer 1

&CAMERON spot 1.343 230 -13 AND CAMERON faces left AND CAMERON is kiss_cheek_give_selfie AND CAMERON moves to layer 0

NARRATOR

2 New Texts From : Mysterious Girl
So, I’ll wear my fanciest dress, will you?
Hey, can you pick me up? I know it’s lame but I don’t have a driver’s license and I can’t take the bus to where we’re going.
1 New Text From : Bianca Williams
Promise you’ll be at the diner? I don’t want to get caught.

@pause for a beat

}

but it skips over this part in the story.

I think I figured it out for you! You are mixing up “gains” with the “Skin is …”

All you need to do is rewrite to only recognize the gains-- so instead of:

if (SKIN2 is “Light_2”)
instead write it as

if (Light_2)
where Light 2 is the gain, and you are “if-ing” based on your gains rather than your choice variable (SKIN2)

If you wanted to if on SKIN2, it would be

if (SKIN2 is “Light”)
Since “Light” was the name of the choice

Hope this helps :slight_smile:

1 Like

Oh, thanks

1 Like

Moved to Directing Helps and Tips. Make sure to check out our Forum Tutorial for more info about where to correctly create topics. :wink: