Branching on episode


#1

So I’m writing a story and I want the choices to affect the story, I know how to do choices and branching for one episode but how would I branch all the choices the readers did through out the story?, please. Comment if you can help


#2

You can use “gains” to remember choices.
Here is an example:
NARRATOR
Lilly is eating…
Choice “Cookies” {
gain Cookies
} “Donuts” {
gain Donuts
} “Nothing” {
gain nothing
}
… Let say next episode
MOM (talk_angry)
Lilly! Did you eat my cookies?
If (Cookies) {
LILLY (talk_sad)
Yes Mom, I am sorry.
}
Elif (Donuts) {
LILLY (talk_neutral_deny)
No mom! I ate Donuts!
} else {
LILLY (talk_shrug)
I didn’t eat anything.
}


#3

Have a look here as well :slight_smile:

Tara explains: Ifs, elses, gains, labels, gotos and the points system!

HOW TO: Remember Past Choices (if/elif/else)


#4

will this work throughout the story?


#5

Yup


#6