Using Gains Not working


#1

So this is my code for gains, but whenever I choose the other option it doesn’t end up being the else option it always ends up being IF.

if (wait_for_me) {
JHIILSRAA
I love you so much…

@LAERDYA enters from left to screen left AND LAERDYA is run_athletic_neutral_loop
LAERDYA (talk_argument_angry)
WHERE IS SHE!

I HEARD YOU TALKING TO SOMEONE!

@JHIILSRAA faces left

    JHIILSRAA (talk_repulsed)
I was talking to myself. She wasn't here..

} else {
gain betrayed_by_JHIILSRAA
JHIILSRAA (talk_angry)
She didn’t even say she loved me.

@LAERDYA enters from left to screen left AND LAERDYA is run_athletic_neutral_loop
LAERDYA (talk_argument_angry)
WHERE IS SHE!

I HEARD YOU TALKING TO SOMEONE!

@JHIILSRAA faces left

    JHIILSRAA (talk_repulsed)
She left the room before I could stop her.

}


#2

Can I see the part of your script that has the gains


#3

Yeah:

JHIILSRAA (talk_awkward_loop)
I love you, Now hurry up and run.

choice
“I love you too.”{
gain wait_for_me
FAYLEN (talk_sad_exhausted)
I love you too, I promise. I’ll be back.

    JHIILSRAA (talk_afraid)
RUN!

sound running_heels
@FAYLEN exits right AND FAYLEN does it while run_cry_embarrassed_loop

@JHIILSRAA is cry_sob_sad_loop

@LAERDYA exits left

}“Run”{
gain heartbroken
sound running_heels
@FAYLEN exits right AND FAYLEN does it while run_athletic_neutral_loop

}


#4

When you are testing your script, are you using mobile or web? If you are using mobile, did you make sure to reset story progress before trying a different choice?


#5

I used both mobile and Web and did reset the story progress on mobile before trying a different choice.


#6

NeverMind, I got it to work.

@Ryan kind sir, may you please close this.


#7

I’m glad you got it to work. I was about to say that it is working fine for me when I pasted it into the previewer. :slightly_smiling_face:


#8

Thanks for giving me advice.


#9