DARA’S GUIDE: Remember Choices with if/elif/else

lol :joy:

1 Like

Do all of the gained flags persist across episodes?

Yep they do and so does the choice name method.

I have a question.
Will the if/elif/else code work throughout multiple chapters?

Yep!

Thanks!

Bump :sparkling_heart:

if i use choices in a chapter and use IF in another one , will it work ?

Yes, the if/elif/else works throughout all episodes.

1 Like

Ohh I didn’t know that

thank you :smiling_face_with_three_hearts:

How to remember readers CC?
Cuz in the next chapter character returns to default look and honestly idk how to fix it

Characters will stay customized for the entire story. The web previewer doesn’t remember things from previous episodes. You’ll need to test your story in the app to see it remembered.

2 Likes

when the reader do the CC , and i would change the hair style in one scene (like when the character go the shower , and change the straight hair into a wavy one) , what do i need to do in order to reset the hair which the reader chose ?

2 Likes

thank you !!!

How do I make a remembering choice for mouths for the customization, so I can use it later for vampire mouths. Hopefully, that makes sense. :slightly_smiling_face:

Okay, so I have a slight problem. I am using this format and only have two choices that I want to affect the storyline. But every time I choose the second choice, it goes to the ending of the first choice. If anyone could help, that would be amazing!
Here is the format:
CHARACTER (think_rubchin)

choice
“Agree with Kyle”{
CHARACTER (talk_agree_happy)
I think that we don’t know what happened and shouldn’t make assumptions

gain chose_kyle

}
“Agree with Markus and Holden”{
CHARACTER (talk_repulsed)
There is no way in h*ll she would go out with you!

gain chose_markus

}

if (chose_kyle) {

@cut to zone 3
CHARACTER (talk_smile_happy_loop)
See! At least someone here has some common sense!
readerMessage Kyle will remember this…

} else {

    CHARACTER (talk_explain_neutral)
See man, it's three to one.
Just give up

@cut to zone 3
@CHARACTER is idle_armscrossed_angry_pose
@CHARACTER is laugh_chuckle
CHARACTER (talk_angry)
Whatever! Y’all don’t know what you’re talking about!
readerMessage Kyle will remember this…

}
It is not saying anything is wrong with it, but it won’t direct to the right place even though I used gains

Make sure that you are toggling between your flags, resetting story progress, or refreshing the script page. If you test this part over and over again without resetting or toggling between your flags, both flags are gained which confuses the system.

OMG! Thank you so much I was getting so confused. It worked!

1 Like