Using gains and if command

Hi,

Can I use the same gain name twice in an episode?

For instance,

choice
“Say yes” {
NARRATOR
Yes
gain_one
}
" Say no" {
NARRtor
gain_no
}

Then in another scene.
choice
“Chicken” {
NARRATOR
Chicken
gain_one
} “Beef” {
NARRATOR
Beef
gain_no
}

if (gain_one) {
NARRATOR
yes, I do.
else {
}
Will this work?

1 Like

No, you would need to use different gain names.

1 Like

lol they can gain a hell no

I belive you have to have space between the command gain and its name

gain one or
gain _one or
gain what_ever_name_you_want

but not together which you seem to have… gain_one

Thanks. I tried using the if command alone and for some reason, it keeps going to the else choice.

These are the choices

choice

“Be romantic” {

    NEVAEH
I love the beach.
I am romantic at heart.

readerMessage Sebastian will remember this connection with messageTitle |italic, color:royalblue| Hopeless Romantic

    SEBASTIAN +1
It looks like I have found my dream girl. I love romance.

} “be indifferent” {
NEVAEH
The beach is okay.
readerMessage Sebastian will remember you were not interested in him with messageTitle |bold, color:red| Anti-romanctic

    SEBASTIAN -1
Do you not want to go out with me?

.dialogue>>>>>>>>>>>>>>>>>>>>>>>>

choice
“flowy dress” {
@speechbubble is 190 257 to 68% with tail_top_right
SEBASTIAN (react_shocked_awe) +1
You look beautiful.

readerMessage Sebastian will remember you glammed up for him with messageTitle |italic, color:royalblue| Impressing a Romantic Man

} “Leisure” {
@speechbubble is 173 207 to 82% with tail_top_right
SEBASTIAN (talk_greet_shy) -1
Interesting outfit? Is it laundry day?

}

dialogue>>>>>>>>>>>>>>>>>>>

choice
“play the romantic” {
@speechbubble is 173 207 to 82% with tail_top_right
SEBASTIAN (talk_exclaim_yes_happy) +1
I was going to say the exact thing.

} “say the first thing on your mind” {

@speechbubble is 173 207 to 82% with tail_top_right
SEBASTIAN (idle_awkward_scratch_loop) -1
You like umbrellas.
Umbrellas are great.

}

dialogue.>>>>>>>>>>>>>>>>>>

@speechbubble is 154 366 to 74% with tail_bottom_right
SEBASTIAN (talk_sit_coy) +1
You have an incredibly beautiful smile on your profile.

dialogue >>>>>>>>>>>>>>>>.

choice
“kiss him” {
@speechbubble is 85 426 to 74% with tail_bottom_right
SEBASTIAN (admire_happy) +2
How am I to leave after that?

} “wave goodbye” {

@SEBASTIAN walks to spot 1.065 94 78 in zone 2
@NEVAEH faces right

@speechbubble is 109 428 to 72% with tail_bottom_right
NEVAEH (wave_extreme)
Bye!
@SEBASTIAN -1

dialogue>>>>>>>>>>>>>

choice

“0-3.4” {

    NEVAEH (idle_happy_loop)
He doesn't impress me.

@Sebastiann -1

} “3.5-5” {
@speechbubble is 112 267 to 94% with tail_top_right
NEVAEH (idle_happy_loop)
He is so dreamy. He makes me laugh.

@SEBASTIAN +1

}

dialogue >>>>>>>>>>>

NEVAEH (idle_happy_loop)
(Before I pack my overnight bag and call it a night, I want to talk to Sebastian.)

INT. PHONE

set format phonetext

    NEVAEH
Hi, Sebastian

if (SEBASTIAN > 5) {

    SEBASTIAN
Hi, gorgeous.
Is it too soon to say I miss you?

@SEBASTIAN +1

readerMessage Sebastain likes you as much as you like him. with messageTitle |color:royalblue| Sleep easy tonight.

    NEVAEH
I think so lol.
You said you were going to call.
What changed?

    SEBASTIAN
My roommate just got home.
He had a really bad day. I don't want to make it worse by being too loud.

    NEVAEH
Where have you been all my life?

    SEBASTIAN
In my room, patiently waiting for the day I meet you.

    NEVAEH
Looks like that day is today.

    SEBASTIAN
It is.
I can't wait until I see you again.

    NEVAEH
Me too.
I've got to go. I'm exhausted.

    SEBASTIAN
Sweet Dreams

} elif (SEBASTIAN = 5) {

    SEBASTIAN
I wasn't sure you were interested after the way you treated me.
I can't talk now.
I don't think this is going to work out.

@SEBASTIAN -1

readerMessage Looks like you gave him mixed signals with messageTitle |color:royalblue| He loves me, he loves me not.

} else {

INT. SLEEPING
set format cinematic

@NEVAEH changes into Sleepwear
&NEVAEH spot 2.645 183 -621 in zone 1 AND NEVAEH is idle AND NEVAEH faces left

@speechbubble is 112 267 to 94% with tail_top_right

    NEVAEH (idle_sad_loop)
No reply.

@SEBASTIAN -1
readerMessage After the way you treated him, I’m not surprised with messageTitle |color:royalblue| He loves me not.

I tried using the app on my phone and picking different choices, adding the points I gain, but every time, it goes to the else command and not the first two. Am I doing it wrong? Should I use gains instead?

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