GAINS! help thanks!

ok someone fix this when i press MS CLAIRE it goes to if (go_smith) and not ]else[

choice
“Doctor Smith.” {
gain go_Smith

    YOU (talk_think_neutral)
I'll go to Doctor Smith.

@YOU exits right

}
“Ms Claire.” {
gain go_Claire

    YOU (talk_think_neutral)
I'll go to Ms Claire.

@YOU exits left

}
if (go_Smith) {

EXT. CITY HIGHWAY LOOP - DAY
@zoom reset
@YOU enters from left to screen center
&YOU starts walk_neutral_loop

    YOU (walk_neutral_loop)
Man I need to stop walking and start taking the bus or car. Cause my legs can't handle this.

@YOU exits right

INT. GUARD DESK OL - DAY with INT. GUARD DESK OL - DAY at layer 1
@CLERK stands screen right in zone 2 AND CLERK faces left AND CLERK is read_phone_shocked
&CLERK moves to layer 0

&pan to zone 2 in 2.0
@YOU walks to spot 1.280 80 4 in zone 2 in 2.0 and YOU is walk_neutral_loop
&YOU moves to layer 3

    YOU (talk_greet_shy)
Hello! I'm here for an appointment with Doctor Smith.

    CLERK (talk_sheepish_rubneck)
Alright! Let me check.

@CLERK is tinker_stand_neutral_loop_rear

    CLERK (talk_agree_happy)
Alright go ahead up.

    YOU (talk_greet_shy)
Thank you!

@YOU exits left

    CLERK (eyeroll_subtle)
Thanks for getting in the middle of the good part of the Kidnapped and Pregnant.

@CLERK is read_phone_neutral_loop

@transition fade out black 5.5

INT. FASHION HALL - DAY
@YOU enters from left to screen center
@follow YOU to screen center in zone 3

@YOU walks to spot 0.971 201 180 in 5 AND YOU faces left
@YOU is tinker_stand_neutral_loop_rear
@remove YOU

@transition fade out black 5.5

INT. DOCTORS OFFICE - DAY
@DOCTOR SMITH enters from right to screen right

@YOU enters from left to screen left
&YOU moves to layer 1
@YOU walks to spot 1.061 130 109 in 7
@YOU starts idle_sit_leanforward_listen_impressed_loop

    DOCTOR SMITH (talk_greet_neutral)
Hi, I am so glad you decided, to come! And not miss out!

    DOCTOR SMITH (talk_agree_happy)
Alright so, I am going to show you your baby! At 7 weeks!

    DOCTOR SMITH (talk_agree_happy)
Also you are in your 1st trimester still! For your pregnancy!

@transition fade out black 5.5

INT. DOCTORS OFFICE - DAY with BABY2 in zone 1 at layer 0 to 0.574 139 71

readerMessage Overlay by: Alexa_episode

@DOCTOR SMITH stands screen right AND DOCTOR SMITH faces left

&YOU spot 1.061 130 109 AND YOU faces right AND YOU is idle_sit_leanforward_listen_impressed_loop
&YOU moves to layer 1

@DOCTOR SMITH walks to screen left
@DOCTOR SMITH stands screen left AND DOCTOR SMITH faces right

    DOCTOR SMITH (admire_happy)
Thats your baby!

@zoom on 320 362 to 326% in 4.4

    NARRATOR (YOU)
Just looking at that baby made me feel, special and made that baby feel so much special.

    NARRATOR (YOU)
It made me wonder was this a mistake?

    NARRATOR (YOU)
Or did the Doctor that inseminate me for a reason?

    NARRATOR (YOU)
Was this all for a reason.

    NARRATOR (YOU)
I don't know if I should..But, its to late to have an abortion now.

@zoom on 320 362 to 102% in 4.4

    DOCTOR SMITH (talk_awkward_loop)
But theres bad news.....

@DOCTOR SMITH starts idle_awkward_scratch_loop

    NARRATOR (YOU)
Just hearing that word....

    NARRATOR (YOU)
| color:red | Bad News.

    NARRATOR (YOU)
Just made me feel is there something wrong with my baby?

    DOCTOR SMITH (talk_neutral)
Your baby might have Pyloric Stenosis.

    DOCTOR SMITH (talk_neutral)
Which is  is a condition that can affect the gastrointestinal tract in babies. 

    DOCTOR SMITH (talk_neutral)
It can make a baby vomit forcefully and often, and can lead to other problems, such as dehydration. 

    DOCTOR SMITH (talk_neutral)
Pyloric stenosis needs immediate medical treatment.Pyloric stenosis affects about 3 out of 1,000 babies in US.

    DOCTOR SMITH (talk_neutral)
It's more likely to affect firstborn male infants and also runs in families.

    DOCTOR SMITH (talk_neutral)
We can run a few tests, and see what we got.

    DOCTOR SMITH (talk_agree_happy)
I will see you in a few weeks!

@DOCTOR SMITH exits left

} else {

EXT. CITY HIGHWAY LOOP - DAY
@YOU enters from left to screen center
&YOU starts walk_neutral_loop

    YOU (walk_neutral_loop)
Man I need to stop walking and start taking the bus or car. Cause my legs can't handle this.

@YOU exits right

INT. DOCTORS OFFICE - DAY
@MS CLAIRE enters from right to screen right

@YOU enters from left to screen left
&YOU moves to layer 1
@YOU walks to spot 1.061 130 109 in 9
@YOU starts idle_sit_leanforward_listen_impressed_loop

    MS CLAIRE (talk_greet_neutral)
Hi, I am so glad you decided, to come! And not miss out!

    MS CLAIRE (talk_agree_happy)
Alright so, I am going to show you your baby! At 7 weeks!

    MS CLAIRE (talk_agree_happy)
Also you are in your 1st trimester still! For your pregnancy!

@transition fade out black 5.5

INT. DOCTORS OFFICE - DAY with BABY2 in zone 1 at layer 0 to 0.574 139 71

readerMessage Overlay by: Alexa_episode

@MS CLAIRE stands screen right AND MS CLAIRE faces left

&YOU spot 1.061 130 109 AND YOU faces right AND YOU is idle_sit_leanforward_listen_impressed_loop
&YOU moves to layer 1

@MS CLAIRE walks to screen left
@MS CLAIRE stands screen left AND MS CLAIRE faces right

    MS CLAIRE (admire_happy)
Thats your baby!

@zoom on 320 362 to 326% in 4.4

    NARRATOR (YOU)
Just looking at that baby made me feel, special and made that baby feel so much special.

    NARRATOR (YOU)
It made me wonder was this a mistake?

    NARRATOR (YOU)
Or did the Doctor that inseminate me for a reason?

    NARRATOR (YOU)
Was this all for a reason.

    NARRATOR (YOU)
I don't know if I should..But, its to late to have an abortion now.

@zoom on 320 362 to 102% in 4.4

    MS CLAIRE (talk_awkward_loop)
But theres bad news.....

@MS CLAIRE starts idle_awkward_scratch_loop

    NARRATOR (YOU)
Just hearing that word....

    NARRATOR (YOU)
| color:red | Bad News.

    NARRATOR (YOU)
Just made me feel is there something wrong with my baby?

    MS CLAIRE (talk_neutral)
Your baby might have Pyloric Stenosis.

    MS CLAIRE (talk_neutral)
Which is  is a condition that can affect the gastrointestinal tract in babies. 

    MS CLAIRE (talk_neutral)
It can make a baby vomit forcefully and often, and can lead to other problems, such as dehydration. 

    MS CLAIRE (talk_neutral)
Pyloric stenosis needs immediate medical treatment.Pyloric stenosis affects about 3 out of 1,000 babies in US.

    MS CLAIRE (talk_neutral)
It's more likely to affect firstborn male infants and also runs in families.

    MS CLAIRE (talk_neutral)
We can run a few tests, and see what we got.

    MS CLAIRE (talk_agree_happy)
I will see you in a few weeks!

@MS CLAIRE exits left

}

Did you try resetting your flags (gains)?

Here’s how to do so:

it didnt work.

OK that’s weird, i tested it and it worked perfectly for me :joy:

If they’re gold, then they were chosen. If both of them are gold, that’s bad. You only want one to be gold and that’s the path you want to see. Clicking on them makes them blue, so they are NOT chosen.

ya but when i pick ms claire the other one turns golden

Picking her should make the “go_Claire” flag golden. If the other one is golden, click on it to make it blue so it’s not chosen.

remove ELSE and the corresponding brackets… I’ve had trouble with it myself and this seems to solve the issue… after removing ELSE and the brackets… try playing it through to be sure it plays out how it should (which it should)

OR… second option… use flags with your If’s…
example

if (go_claire) {
goto go_claire_go}

label go_claire_go
bla bla bla
bla bla bla
goto end_go_claire_go

random stuff here

label end_go_claire_go

do u know how to use it with gains? istead of flags?

1 Like

You use BOTH gains and flags

rather than having the entire script inside of if { } … you would replace the script with a GOTO flag

then LABEL the script you want for that IF scenerio

could u fix the one im using? ray?

choice
“Doctor Smith.” {
gain go_Smith

    YOU (talk_think_neutral)
I'll go to Doctor Smith.

@YOU exits right

}
“Ms Claire.” {
gain go_Claire

    YOU (talk_think_neutral)
I'll go to Ms Claire.

@YOU exits left

}
if (go_Smith) {
goto go_smith_option
} else {
goto else_option_1
}

label go_smith_option
EXT. CITY HIGHWAY LOOP - DAY
@zoom reset
@YOU enters from left to screen center
&YOU starts walk_neutral_loop

    YOU (walk_neutral_loop)
Man I need to stop walking and start taking the bus or car. Cause my legs can't handle this.

@YOU exits right

INT. GUARD DESK OL - DAY with INT. GUARD DESK OL - DAY at layer 1
@CLERK stands screen right in zone 2 AND CLERK faces left AND CLERK is read_phone_shocked
&CLERK moves to layer 0

&pan to zone 2 in 2.0
@YOU walks to spot 1.280 80 4 in zone 2 in 2.0 and YOU is walk_neutral_loop
&YOU moves to layer 3

    YOU (talk_greet_shy)
Hello! I'm here for an appointment with Doctor Smith.

    CLERK (talk_sheepish_rubneck)
Alright! Let me check.

@CLERK is tinker_stand_neutral_loop_rear

    CLERK (talk_agree_happy)
Alright go ahead up.

    YOU (talk_greet_shy)
Thank you!

@YOU exits left

    CLERK (eyeroll_subtle)
Thanks for getting in the middle of the good part of the Kidnapped and Pregnant.

@CLERK is read_phone_neutral_loop

@transition fade out black 5.5

INT. FASHION HALL - DAY
@YOU enters from left to screen center
@follow YOU to screen center in zone 3

@YOU walks to spot 0.971 201 180 in 5 AND YOU faces left
@YOU is tinker_stand_neutral_loop_rear
@remove YOU

@transition fade out black 5.5

INT. DOCTORS OFFICE - DAY
@DOCTOR SMITH enters from right to screen right

@YOU enters from left to screen left
&YOU moves to layer 1
@YOU walks to spot 1.061 130 109 in 7
@YOU starts idle_sit_leanforward_listen_impressed_loop

    DOCTOR SMITH (talk_greet_neutral)
Hi, I am so glad you decided, to come! And not miss out!

    DOCTOR SMITH (talk_agree_happy)
Alright so, I am going to show you your baby! At 7 weeks!

    DOCTOR SMITH (talk_agree_happy)
Also you are in your 1st trimester still! For your pregnancy!

@transition fade out black 5.5

INT. DOCTORS OFFICE - DAY with BABY2 in zone 1 at layer 0 to 0.574 139 71

readerMessage Overlay by: Alexa_episode

@DOCTOR SMITH stands screen right AND DOCTOR SMITH faces left

&YOU spot 1.061 130 109 AND YOU faces right AND YOU is idle_sit_leanforward_listen_impressed_loop
&YOU moves to layer 1

@DOCTOR SMITH walks to screen left
@DOCTOR SMITH stands screen left AND DOCTOR SMITH faces right

    DOCTOR SMITH (admire_happy)
Thats your baby!

@zoom on 320 362 to 326% in 4.4

    NARRATOR (YOU)
Just looking at that baby made me feel, special and made that baby feel so much special.

    NARRATOR (YOU)
It made me wonder was this a mistake?

    NARRATOR (YOU)
Or did the Doctor that inseminate me for a reason?

    NARRATOR (YOU)
Was this all for a reason.

    NARRATOR (YOU)
I don't know if I should..But, its to late to have an abortion now.

@zoom on 320 362 to 102% in 4.4

    DOCTOR SMITH (talk_awkward_loop)
But theres bad news.....

@DOCTOR SMITH starts idle_awkward_scratch_loop

    NARRATOR (YOU)
Just hearing that word....

    NARRATOR (YOU)
| color:red | Bad News.

    NARRATOR (YOU)
Just made me feel is there something wrong with my baby?

    DOCTOR SMITH (talk_neutral)
Your baby might have Pyloric Stenosis.

    DOCTOR SMITH (talk_neutral)
Which is  is a condition that can affect the gastrointestinal tract in babies. 

    DOCTOR SMITH (talk_neutral)
It can make a baby vomit forcefully and often, and can lead to other problems, such as dehydration. 

    DOCTOR SMITH (talk_neutral)
Pyloric stenosis needs immediate medical treatment.Pyloric stenosis affects about 3 out of 1,000 babies in US.

    DOCTOR SMITH (talk_neutral)
It's more likely to affect firstborn male infants and also runs in families.

    DOCTOR SMITH (talk_neutral)
We can run a few tests, and see what we got.

    DOCTOR SMITH (talk_agree_happy)
I will see you in a few weeks!

@DOCTOR SMITH exits left
goto continue_story

label else_option_1
EXT. CITY HIGHWAY LOOP - DAY
@YOU enters from left to screen center
&YOU starts walk_neutral_loop

    YOU (walk_neutral_loop)
Man I need to stop walking and start taking the bus or car. Cause my legs can't handle this.

@YOU exits right

INT. DOCTORS OFFICE - DAY
@MS CLAIRE enters from right to screen right

@YOU enters from left to screen left
&YOU moves to layer 1
@YOU walks to spot 1.061 130 109 in 9
@YOU starts idle_sit_leanforward_listen_impressed_loop

    MS CLAIRE (talk_greet_neutral)
Hi, I am so glad you decided, to come! And not miss out!

    MS CLAIRE (talk_agree_happy)
Alright so, I am going to show you your baby! At 7 weeks!

    MS CLAIRE (talk_agree_happy)
Also you are in your 1st trimester still! For your pregnancy!

@transition fade out black 5.5

INT. DOCTORS OFFICE - DAY with BABY2 in zone 1 at layer 0 to 0.574 139 71

readerMessage Overlay by: Alexa_episode

@MS CLAIRE stands screen right AND MS CLAIRE faces left

&YOU spot 1.061 130 109 AND YOU faces right AND YOU is idle_sit_leanforward_listen_impressed_loop
&YOU moves to layer 1

@MS CLAIRE walks to screen left
@MS CLAIRE stands screen left AND MS CLAIRE faces right

    MS CLAIRE (admire_happy)
Thats your baby!

@zoom on 320 362 to 326% in 4.4

    NARRATOR (YOU)
Just looking at that baby made me feel, special and made that baby feel so much special.

    NARRATOR (YOU)
It made me wonder was this a mistake?

    NARRATOR (YOU)
Or did the Doctor that inseminate me for a reason?

    NARRATOR (YOU)
Was this all for a reason.

    NARRATOR (YOU)
I don't know if I should..But, its to late to have an abortion now.

@zoom on 320 362 to 102% in 4.4

    MS CLAIRE (talk_awkward_loop)
But theres bad news.....

@MS CLAIRE starts idle_awkward_scratch_loop

    NARRATOR (YOU)
Just hearing that word....

    NARRATOR (YOU)
| color:red | Bad News.

    NARRATOR (YOU)
Just made me feel is there something wrong with my baby?

    MS CLAIRE (talk_neutral)
Your baby might have Pyloric Stenosis.

    MS CLAIRE (talk_neutral)
Which is  is a condition that can affect the gastrointestinal tract in babies. 

    MS CLAIRE (talk_neutral)
It can make a baby vomit forcefully and often, and can lead to other problems, such as dehydration. 

    MS CLAIRE (talk_neutral)
Pyloric stenosis needs immediate medical treatment.Pyloric stenosis affects about 3 out of 1,000 babies in US.

    MS CLAIRE (talk_neutral)
It's more likely to affect firstborn male infants and also runs in families.

    MS CLAIRE (talk_neutral)
We can run a few tests, and see what we got.

    MS CLAIRE (talk_agree_happy)
I will see you in a few weeks!

@MS CLAIRE exits left
goto continue_story

label continue_story

omg it worked! thank you!

1 Like

thank you!

1 Like

Marked as solved and closed