My first episode has a choice where she chooses to walk or to take a cab. I wanted to have it so that choice affects the episode after with a certain interaction between two characters. However I don’t know if it works like that… Is that possible?
You have to use gain in the choice, then you can use if/else after. It looks like this:
NARRATOR
dialogue
choice
“Walk” {
gain walk ---------------------------------------------(or whatever you want to name the flag)
.
.
.
}“Take a cab” {
gain cab
.
.
.
}
And then when you want to refer to it:
if (walk) {
.
what you want to happen
.
}elif (cab) {
.
what you want to happen
.
}
yeah! just give the reader a flag for whatever choice they made or put a name for the choice in parenthesis before you write the options they can pick, and you can reference it whenever you want to in your story
yes it works exactly this way - if you use in the choice some “remembering” method, then if/else will for sure work.
So, I did that and it looks like I got an error?
This is from the first chapter:

This is from the second chapter (where the error appears):
Try separating the choice on two lines! Like
choice
“Walk” {
What about the }else (epionecab) { line?
The “else” part needs to be by itself. There should be nothing in parentheses next to it
} else {
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.