Gain not working

I’ve been trying to use the “gain” and “if” in my story, but for some reason it’s not working.

Here is my script:

choice (Go Shopping)
GEMS:5"Go to the shopping with Mariah for matching outfits for the first day of school" {

music music_bbb_everydaygroove
@zoom on 599 302 to 331% in 0.5
STELLA (talk_sit_reassure_happy)
Yeah!

    MARIAH (talk_sit_coy)
Alright, lets go!

readerMessage Mariah will remember the fun time you had at the mall.

@STELLA +1

} “No, not really in the mood.” {
music off
music music_breezy
@zoom on 599 302 to 331% in 0.5
STELLA (talk_sit_shrug_neutral)
Not really feeling it, sorry

    MARIAH (talk_sit_sheepish)
Oh uh, that's fine too...

@MARIAH is idle_sit_anklescrossed_sad_loop

readerMessage Mariah is upset at your decision and will remember it.

@STELLA -1

}

if (you_went_shopping_with_mariah) {

INT. DESIGNER STORE
music music_attitudepop
@MARIAH enters from right to screen left AND MARIAH is walk_talk_happy_loop AND STELLA enters from right to screen left AND STELLA is walk_talk_happy_loop
@MARIAH exits left
@zoom on 0 360 to 180% in 1
@STELLA exits left

} elif (gain no_shopping_with_mariah) {

    STELLA (talk_sit_sheepish)
I think i should head home

    MARIAH (talk_sit_anklescrossed_neutral_loop)
Alright, i'll walk you home then

@transtion fade out black
}

remove the “gain”. you should only have the gain name

not sure if that’s the whole problem, but atleast it’ll fix something

ah! also, instead of elif, use else. if you’re using two things for if/else, the first should be if and the last should be else. goes for anything else, too, but the middle choices have elif.

also seems like you didn’t put the gains anywhere?

alright i’ll try that

im not sure where the gain is supposed to go :smiling_face_with_tear:

So you’ve actually named the choice here, so you don’t even need to use gains. However, your choice is named incorrectly (contains a space), so it won’t work in your script. Below I have corrected your script to do as you want it to. Hope that helps :grin:

choice (go_shopping)
<GEMS:5>"Go to the shopping with Mariah for matching outfits for the first day of school" {

music music_bbb_everydaygroove
@zoom on 599 302 to 331% in 0.5
STELLA (talk_sit_reassure_happy)
Yeah!

    MARIAH (talk_sit_coy)
Alright, lets go!
readerMessage Mariah will remember the fun time you had at the mall.

@STELLA +1

} “No, not really in the mood.” {
music off
music music_breezy
@zoom on 599 302 to 331% in 0.5
STELLA (talk_sit_shrug_neutral)
Not really feeling it, sorry

    MARIAH (talk_sit_sheepish)
Oh uh, that's fine too...
@MARIAH is idle_sit_anklescrossed_sad_loop

readerMessage Mariah is upset at your decision and will remember it.

@STELLA -1

}

Later…

if (go_shopping is "Go to the shopping with Mariah for matching outfits for the first day of school") {

INT. DESIGNER STORE
music music_attitudepop
@MARIAH enters from right to screen left AND MARIAH is walk_talk_happy_loop AND STELLA enters from right to screen left AND STELLA is walk_talk_happy_loop
@MARIAH exits left
@zoom on 0 360 to 180% in 1
@STELLA exits left

} else {

    STELLA (talk_sit_sheepish)
I think I should head home

    MARIAH (talk_sit_anklescrossed_neutral_loop)
Alright, I'll walk you home then
@transtion fade out black
}

okay, so inside a choice you gotta put:

gain gainname

Thank you both! :sob::sob::sob: :smiling_face_with_three_hearts:

1 Like