To remember a choice from earlier in the chapter

I can’t get this coding to work. I am trying to have two scenarios from a previous choice.
This happens before the coding:
INT. APSE CANDLES - NIGHT
PENNI (talk_agree_happy)
Girl, you are only 15 years old and way more powerful than me.
PENNI (talk_smile_happy_loop)
And I am 19.
@pause for a beat
@PENNI starts deepbreath
@pause for 2
PENNI (talk_sad)
Come here. It’s going to be okay.
@PENNI walks to spot 0.821 207 209 in zone 2 AND PENNI moves to layer 13
@PENNI starts hug_neutral_loop_rear AND RYLEE starts hug_neutral AND PENNI faces right
PENNI
I love you.
RYLEE
I love you too.
PENNI
Rylee.
RYLEE
Yeah?
PENNI
Please go take a shower because you smell really bad.
@PENNI starts laugh_chuckle AND RYLEE starts laugh_chuckle AND RYLEE faces right AND PENNI faces left
@pause for 2
Then this
if (choice_name is “YES”) {
readerMessage Because you told Luke yes you woke up warm and cozy.
INT. WHITEBED with COVER to 1.000 0 0
@overlay COVER moves to layer 5
@LUKE spot 1.325 83 38 in zone 1 AND LUKE moves to layer 0 AND FAITH spot 1.316 251 -3 in zone 1 AND FAITH moves to layer 3
@LUKE faces right AND FAITH faces left
LUKE (yawn_bored)
Goodnight Forrest.
@pause for 1
@LUKE faces left
@LUKE starts sleep_sit_neutral_loop
FAITH (talk_unsure)
Goodnight Luke.
@pause for 1
@FAITH starts deepbreath
@pause for 2
@FAITH faces right
@FAITH starts sleep_sit_neutral_loop
@pause for 1

} elif (choice_name is “NO”) {
readerMessage Because you told Luke no you woke up cold and alone.
INT. WHITEBED with COVER to 1.000 0 0
@overlay COVER moves to layer 5
@FAITH spot 1.316 251 -3 in zone 1 AND FAITH moves to layer 3
@FAITH faces left
} else {

}

What does your choice look like?

   FAITH
...
Should I share bed with Luke or not?

choice
“Yes.”{
readerMessage Yes, good job!
@speechbubble is 151 160 to 80% with tail_top_left
FAITH (talk_exhausted)
No, you can sleep in the bed.
FAITH
Just don’t get any funny business. Stay on your side of you bed.
LUKE
Trust me I will.
INT.BLACKBEDROOM
&cut to zone 3
@zoom reset
@LUKE spot 1.190 44 83 in zone 3 AND LUKE moves to layer 13 AND FAITH spot 1.037 485 105 in zone 3 AND FAITH moves to layer 13
@pause for 1
@LUKE starts undress_top_rear
@pause for 1
@LUKE starts undress_bottom_rear
@pause for 1
@LUKE changes into LUKEUNDERWEAR
FAITH
Really hope you don’t snore
@FAITH walks to spot 1.037 237 96 in zone 3 AND FAITH moves to layer 13 AND FAITH does it while walk_talk_neutral_loop
@pause for a beat
@FAITH starts idle_jawdrop_awe_loop
@LUKE faces right
LUKE (idle_shiftweight_neutral_loop)
What?
@zoom on 640 0 to 318% in 0
@zoom on 640 456 to 318% in 3
@pause for 1
@zoom on 914 354 to 318% in 0
FAITH (blush_shy)
(Have I been this blind.)
@zoom reset
LUKE
Forrest.
FAITH (cough)
(He lost me with this da** nickname)
FAITH (talk_explain_neutral)
You can’t sleep in the same bed with me without any pants.
FAITH (flirt_coy)
(or shirt)
LUKE (talk_armscrossed_condescending_loop)
I am not sleeping jeans and a jacket.
You’re lucky you got some clothes. So you don’t know the struggle.
@LUKE starts idle_armscrossed_angry_loop
FAITH (talk_exhausted)
Fine.
FAITH (talk_accuse_angry)
Just don’t touch me.
@LUKE starts laugh_chuckle
@pause for 1
LUKE (talk_flirt_charming)
Only if you ask me to.
@FAITH walks to spot 1.037 154 102 in zone 2 AND FAITH moves to layer 17
&LUKE faces right AND LUKE starts shove_argument_receive_angry
@pause for 1
@LUKE walks to spot 1.190 236 94 in zone 2 in 2 AND LUKE moves to layer 13 AND LUKE does it while walk_exhausted_loop
INT. WHITEBED with COVER to 1.000 0 0
@overlay COVER moves to layer 5
@LUKE spot 1.325 83 38 in zone 1 AND LUKE moves to layer 0 AND FAITH spot 1.316 251 -3 in zone 1 AND FAITH moves to layer 3
@LUKE faces right AND FAITH faces left
LUKE (yawn_bored)
Goodnight Forrest.
@pause for 1
@LUKE faces left
@LUKE starts sleep_sit_neutral_loop
FAITH (talk_unsure)
Goodnight Luke.
@pause for 1
@FAITH starts deepbreath
@pause for 2
@FAITH faces right
@FAITH starts sleep_sit_neutral_loop
@pause for 1
}
“No” {
readerMessage Aww man, why not?
FAITH (talk_unsure)
I think it’s best you sleep on the couch.
LUKE (talk_explain_neutral)
Okay, I get it.
LUKE (talk_greet_neutral)
Goodnight Forrest.
FAITH (talk_unsure)
Goodnight Luke.
@pause for 1
@LUKE walks to spot 1.190 470 84 in zone 3 AND LUKE moves to layer 13
@FAITH starts deepbreath
@pause for 2
@FAITH walks to spot 1.037 179 89 in zone 2 AND FAITH moves to layer 13
INT. WHITEBED with COVER to 1.000 0 0
@overlay COVER moves to layer 5
@FAITH spot 1.316 251 -3 in zone 1 AND FAITH moves to layer 3
@FAITH faces left
FAITH
(Wish I was home in my own bed.)
(I just wish this was over)
}

You need to name your choice. That’s what the “choice_name” is in the if/elif. Also, your option names need to match exactly as they are in the choice. You have “Yes.” and “No” as your options names, but in your if/elif you have them as “YES” and “NO”

So you need to first name your choice

FAITH

Should I share bed with Luke or not?

choice (SHARE_BED)
“Yes.”{

} “No” {

}

And your if/else should look like this: (since you only have 2 options, you only need just the “if” and the “else”)

if (SHARE_BED is “Yes.”) {

} else {

}

Okay I changed the first name of my choice to
FAITH

Should I share bed with Luke or not?

choice (SHARE_BED)
“Yes.”{
readerMessage Yes, good job!
@speechbubble is 151 160 to 80% with tail_top_left

And also changed for the if/else but the story will not go to the next scene. My if/else is an opening for the next scene.

    PENNI (talk_armraised_sad)
Not at all sweetie.
    PENNI (talk_armraised_sad)
And no one blames you at all.

@cut to zone 2
@RYLEE faces right
@PENNI spot 0.821 107 225 in zone 3 AND PENNI moves to layer 13
RYLEE (talk_armraised_sad)
I blame myself! Why didn’t do more when they attack?!
RYLEE (cry_sob_sad_loop)
I am strong!
@PENNI walks to spot 0.821 238 217 in zone 2 AND PENNI moves to layer 13
PENNI (talk_neutral_loop)
You are!
And you are still learning.
PENNI (talk_agree_happy)
Girl, you are only 15 years old and way more powerful than me.
PENNI (talk_smile_happy_loop)
And I am 19.
@pause for a beat
@PENNI starts deepbreath
@pause for 2
PENNI (talk_sad)
Come here. It’s going to be okay.
@PENNI walks to spot 0.821 207 209 in zone 2 AND PENNI moves to layer 13
@PENNI starts hug_neutral_loop_rear AND RYLEE starts hug_neutral AND PENNI faces right
PENNI
I love you.
RYLEE
I love you too.
PENNI
Rylee.
RYLEE
Yeah?
PENNI
Please go take a shower because you smell really bad.
@PENNI starts laugh_chuckle AND RYLEE starts laugh_chuckle AND RYLEE faces right AND PENNI faces left
@pause for 2

NEXT SCENE
if (SHARE_BED is “YES”) {
readerMessage Because you told Luke yes you woke up warm and cozy.
INT. WHITEBED with COVER to 1.000 0 0
@overlay COVER moves to layer 5
@LUKE spot 1.325 83 38 in zone 1 AND LUKE moves to layer 0 AND FAITH spot 1.316 251 -3 in zone 1 AND FAITH moves to layer 3
@LUKE faces right AND FAITH faces left
LUKE (yawn_bored)
Goodnight Forrest.
@pause for 1
@LUKE faces left
@LUKE starts sleep_sit_neutral_loop
FAITH (talk_unsure)
Goodnight Luke.
@pause for 1
@FAITH starts deepbreath
@pause for 2
@FAITH faces right
@FAITH starts sleep_sit_neutral_loop
@pause for 1

} elif (SHARE_BED is “NO”) {
readerMessage Because you told Luke no you woke up cold and alone.
INT. WHITEBED with COVER to 1.000 0 0
@overlay COVER moves to layer 5
@FAITH spot 1.316 251 -3 in zone 1 AND FAITH moves to layer 3
@FAITH faces left
} else {

}

Your if/elif is still not correct because of the reason I stated in my post above. The if/else I posted above (also quoted below) is the correct way.

Thank you so much!

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