If/elif/else HELP!

I can’t figure out what I’m doing wrong…
Script:

    ETHAN (talk_neutral_unsure)
It was...

choice
“Important.” {

    ETHAN (talk_armscrossed_shrug_neutral)
It was important.

&zoom on 498 247 to 224% in 0
&cut to zone 2
@speechbubble is 171 184 to 122% with tail_top_left
readerMessage Lauramar understands.
LAURAMAR +1 (talk_awkward_loop)
Okay.

@LAURAMAR is deepbreath

gain IMPORTANT

} “Not important.” {

    ETHAN (talk_armscrossed_sad_loop)
It wasn't very important.

&zoom on 498 247 to 224% in 0
&cut to zone 2
@speechbubble is 171 184 to 122% with tail_top_left
readerMessage Lauramar feels forgotten.
LAURAMAR (talk_unsure)
I see…

@LAURAMAR is deepbreath

gain UNIMPORTANT

}

&cut to zone 3
&zoom on 640 339 to 224% in 0
@speechbubble is 171 184 to 122% with tail_top_right
ETHAN (talk_shrug_concerned)
Are we okay?

&zoom on 498 247 to 224% in 0
&cut to zone 2
@speechbubble is 171 184 to 122% with tail_top_left
LAURAMAR (talk_awkward_loop)
Yes, we’re okay.

&cut to zone 3
&zoom on 640 339 to 224% in 0
@speechbubble is 171 184 to 122% with tail_top_right
ETHAN (talk_think_neutral)
More importantly,

ETHAN (talk_armscrossed_sad_loop)
Are |italic|you|reset|okay?

ETHAN (talk_shrug_concerned)
You seem really… down.

&zoom on 498 247 to 224% in 0
&cut to zone 2
@speechbubble is 171 184 to 122% with tail_top_left
@LAURAMAR is deepbreath

if (IMPORTANT) {

readerMessage You chose: |color:red|important.|reset| Lauramar opens up to Ethan.

LAURAMAR (talk_sad)
My Mom was furious.

&cut to zone 3
&zoom on 640 339 to 224% in 0
@speechbubble is 171 184 to 122% with tail_top_right
ETHAN (talk_apathetic)
Isn’t she always?

&zoom on 498 247 to 224% in 0
&cut to zone 2
@speechbubble is 171 184 to 122% with tail_top_left
LAURAMAR (talk_unsure)
No this…

@LAURAMAR is deepbreath

LAURAMAR (talk_sad_serious_loop)
It was worse than usual.

@LAURAMAR is deepbreath
&LAURAMAR is deepbreath
@LAURAMAR is deepbreath
&LAURAMAR is deepbreath

@LAURAMAR is cry_sniff_sad_loop

@pause for a beat

&cut to zone 3
@LAURAMAR moves to layer 1
@ETHAN moves to layer 0
&zoom on 706 246 to 171% in 0
&LAURAMAR spot 1.438 105 -71 AND LAURAMAR is hug_neutral_rear AND LAURAMAR faces left
@ETHAN spot 1.527 143 -118 AND ETHAN is hug_nervous_loop

@pause for a beat

@speechbubble is 180 289 to 122% with tail_top_left
ETHAN (hug_talk_concerned_loop)
Shhh… it’s okay.
I’m here.

INT. CAFETERIA TABLE OL - DAY
&zoom reset
&MAX spot 1.433 254 -98 in zone 1 AND MAX is idle_armscrossed_awkward_loop
&OSSIE spot 1.457 79 -90 in zone 1 AND OSSIE is search_neutral
@overlay CREAM CHEESE BAGEL create
@overlay CREAM CHEESE BAGEL opacity 1 in 0
@overlay 6225746096029696_CREAM CHEESE BAGEL shifts to 84 155 in 0
@overlay 6225746096029696_CREAM CHEESE BAGEL scales to 0.278 0.278
@overlay CHOCOLATE DONUT create
@overlay CHOCOLATE DONUT opacity 1 in 0
@overlay 6225746096029696_CHOCOLATE DONUT shifts to 193 164 in 0
@overlay 6225746096029696_CHOCOLATE DONUT scales to 0.327 0.327
@zoom on 320 340 to 254% in 3

@pause for a beat

&zoom reset
&OSSIE is search_neutral
@MAX spot 1.433 249 -22 AND MAX is standup_neutral

@pause for a beat

@MAX walks to spot 1.433 415 -26 AND MAX is walk_sad_loop

@transition fade out black 1
} else {

readerMessage You chose: |color:red|unimportant.|reset| Lauramar doesn’t open up.

LAURAMAR (talk_sad)
It’s nothing.

@LAURAMAR is deepbreath

LAURAMAR (talk_agree_happy)
I’m fine, see?

&cut to zone 3
&zoom on 640 339 to 224% in 0
@speechbubble is 171 184 to 122% with tail_top_right
ETHAN (talk_think_neutral)
If you say so.

&zoom on 498 247 to 224% in 0
&cut to zone 2
@speechbubble is 171 184 to 122% with tail_top_left
LAURAMAR (talk_shrug_neutral)
I’m going to go to the bathroom.

&zoom on 502 351 to 224% in 1
@LAURAMAR spot 1.213 175 42 AND LAURAMAR is standup_neutral

LAURAMAR (talk_shrug_concerned)
See you later.

@LAURAMAR walks to spot 1.213 -23 45 in 2 AND LAURAMAR is walk_sad_loop

}

(Sorry to everyone I just tagged I forgot to remove @ symbols…)

What’s the problem?

Moved to Directing Helps and Tips since this is about coding. Make sure to check out our Forum Tutorial for more info about where to correctly create topics, and feel to PM me if there are any questions. :wink:

When I choose the second option it still does the if outcome and not the else outcome…

You need to toggle between your gains: tap/click on “Navigation” then tap/click on “Flags”

Okay I just did what do I do now?

Toggle between your gains. Whichever flag is highlighted will be the flag that gets tested. So if you want to test the “unimportant” flag, make sure that flag is highlighted and the “unimportant” flag is not.

It works! Thank you.

1 Like

Marked as solved and closed. Thanks all! :smiley: