Could someone help me with a coding issue?

So I’m using the if/elif/elif and the if and the first elif work, but for the second elif it just passes right over and doesn’t play the scene. Could anyone help me figure this out?

Send me a screenshot of your script? (:

I’m just going to copy and paste because I don’t know how to screenshot :sweat_smile::sweat_smile:

Yeah, that’s fine too! :heart_decoration:

INT. WALKINCLOSET - DAY
JOSIE enters from left to screen center
label dressing_game_1
JOSIE is think
JOSIE
(dialogue)
choice (Outfit)
“Dressy AF” {
JOSIE
(What the hell let’s go all out)
JOSIE walks to screen right in zone 2
JOSIE changes into JOSIE DRESSY_default
JOSIE walks to screen center in zone 1
JOSIE is strike_a_pose
pause for a beat
JOSIE
(I’m lookin’ fine!)
} “Nice but casual” {
JOSIE
(I’ll just find something presentable I guess.)
JOSIE walks to screen right in zone 2
JOSIE changes into Josie Casual 3
JOSIE walks to screen center in zone 1
JOSIE is strike_a_pose
pause for a beat
JOSIE
(Not bad. Not great but not bad.)
} “I don’t care.” {
JOSIE
(Whatever.)
JOSIE walks to screen right in zone 2
JOSIE changes into Josie Casual
JOSIE walks to screen center in zone 1
JOSIE is strike_a_pose
pause for a beat
JOSIE
(Who cares?)
}
JOSIE is think
JOSIE
(Is this what I want to wear?)
choice
“Yes” {
JOSIE is flirt_fingersnap
JOSIE
(Hells yeah)
} “No” {
JOSIE is talk_unsure
JOSIE
On second thought… better change.
goto label dressing_game_1
}
INT. ANNIKA APARTMENT 2 - DAY
CHLOE stands screen center AND CHLOE faces right
CHLOE is text_phone_neutral_loop
JOSIE enters from right to screen right
JOSIE starts talk_gesture
JOSIE
What do you think?
JOSIE is strike_a_pose
if (Outfit is “Dressy AF”) {
CHLOE is admire
CHLOE starts talk_excited
CHLOE
You look great!
JOSIE starts talk_preen
JOSIE
I know.
} elif (Outfit is “Nice but casual”) {
CHLOE starts talk_shrug
CHLOE
It’s not bad but you’re not turning any heads that way.
JOSIE starts talk_neutral
JOSIE
Nah I just want to blend in.
} elif (Outfit is “I don’t care”) {
CHLOE starts talk_repulsed
CHLOE
What the hell are you wearing?
JOSIE starts talk_shrug
JOSIE
I don’t care.
}
JOSIE starts talk_neutral
JOSIE
Let’s go

the script is kind of silly I know haha
So basically that last elif for the “I don’t care” just passes right over to “Let’s go” and I don’t know why :confused:

In your dressing game, I don’t care has a period at the end, so in elif try to add a period at the end of I don’t care and tell me if that works!

1 Like

} elif (Outfit is “I don’t care”)

But your choice has the period!

“I don’t care.” {

1 Like

Oh my goodness you are a freaking genius! haha I didn’t even notice!! Thank you sooooooo much haha

No worries, let me know if you run into any further problems! :wink:

1 Like

Thank you! :relaxed::relaxed: