Branching with giving an option to go back and change your decision

I CANNOT FIGURE OUT WHAT IM DOING WRONG WITH THE BRANCHING BUT ITS NOt WORKING SOMONE PLEASE HELP. I WANT TO GIVE MY READERS AN OPTION TO GO BACK ADN CHANGE THEIR DECISION BUT I ALSO WANT TO BRANCH IT.
HER IS MY SCRIPT:
NARRATOR
ARE YOU INTERESTED IN DATING GUYS OR GIRLS?

tappable
“FEMALE”{
gain girls
@speechbubble reset

goto girls

}“MALE”{
gain guys
@speechbubble reset

goto guys

}

label girls

    NARRATOR
SO YOU ARE INTERESTED IN DATING GIRLS?

choice “No, let me go back” {
NARRATOR
No Problem!

goto thebigchoice

} “Yes!” {
NARRATOR
Ok, Great!

goto normal

}

label guys

    NARRATOR
SO YOU ARE INTERESTED IN DATING GUYS?

choice “No, let me go back” {
NARRATOR
No Problem!

goto thebigchoice

} “Yes!” {
NARRATOR
Great!

}

A LOT OF DIALOGUE LATER…

if (girls){

@FEMALE LOVE INTEREST stands screen center AND FEMALE LOVE INTEREST is undress_top

}elif (guys){

@zoom reset

INT. CLOSED APARTMENT DOOR - DAY

@YOU stands screen center AND YOU faces right

}else{

NARRATOR
NO ONE CHOSE DIS!!

}

I think it’s because you’re trying to lose the gain, I.e. once they click girls the gain is added but if they change their mind it is already added.

Try moving the gains to the choices brackets once the reader has said yes.

1 Like

OK thanks! does the elif have to be there or can I just use if and else?
(GIVEN THE FACT THAT I ONLY WANT 2 outcomes with this choice)

1 Like

Try this:

label thebigchoice

tappable
“FEMALE”{

NARRATOR

SO YOU ARE INTERESTED IN DATING GIRLS?

choice
“No, let me go back” {
NARRATOR
No Problem!

goto thebigchoice

} “Yes!” {
NARRATOR
Ok, Great!

goto normal
gain girls

}
@speechbubble reset

}“MALE”{

NARRATOR

SO YOU ARE INTERESTED IN DATING GUYS?

choice “No, let me go back” {
NARRATOR
No Problem!

goto thebigchoice

} “Yes!” {
NARRATOR
Great!

gain guys
goto normal
}
@speechbubble reset

}

label normal

A LOT OF DIALOGUE LATER…

if (girls){

@FEMALE LOVE INTEREST stands screen center AND FEMALE LOVE INTEREST is undress_top

}else{

@zoom reset

INT. CLOSED APARTMENT DOOR - DAY

@YOU stands screen center AND YOU faces right

}

I’m pretty sure you can just use if and else? :smiley:

Thank you!!

1 Like

Hello @NicoleStories, this is Sydney the moderator. Welcome to the forum! :smiley:

I’ve moved this thread to Directing Helps and Tips since it’s about coding. Make sure to check out our Forum Tutorial for more info about creating topics, and feel free to PM me if you’ve got questions. :wink:

Thank you, Sydney!

1 Like

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