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

How do you do this if the past choice was timed?

The same exact way.

hey so i am just making a story and it’s not published yet, so maybe that’s the reason, but this doesn’t work for me

what does not working

using flags to transfer choices in between episodes

why dont you use gains instead

that. i use that i thought that was called flags, sorry im dumb

They are called flags, you’re not dumb. Are you using the web previewer to test your story? The web previewer doesn’t remember things from previous episodes. Have you tried testing your story in the app?

Yes I am doing it on the web. Is there an app for my laptop? Also like thanks a ton I thought all my hard work with the story was for nothing

Do you have the app on your phone? That’s where you will need to test it.

I don’t cause stories are a lot to write and I find hard to write them on my phone. Is there for sure not an app for my laptop??

I mean the Episode app. You don’t write on the app, you can play and test your story there. Tap on the 3 lines at the top left corner and tap on Create.

Ahaa, okay okay, I’ll try that. Thank u : )

I need some help, whenever I try to use gains, they always go to the “Else” one no matter what it gained. I’ve tried resetting it and everything, but it always skips down to else. I tried taking away else, and it skipped the whole thing altogether.

Is your if/elif/else in a different episode?

No, it’s in the same episode

What does your choice look like and what does the if/elif/else look like?

All the choices look like this but with different names:

“Thicc Girl”{

@THICC stands screen center

@ pause for 2
@ zoom reset

    NARRATOR
Are you happy with this body type?

choice
“Yes” {

    NARRATOR
YAAAS THICC QUEEN~!

gain thicc

@ THICC starts wave_extreme

goto female_custom_62

}
“No” {
@ THICC exits right
goto body_type
}

And when I use if/elif/gain they’re this:

if(gain skinny){
@ YOUR CHARACTER enters from left to screen center
}

elif(gain thicc){
@ THICC enters from left to screen center
}

elif(gain boy){
@ BOY enters from left to screen center
}

else{
@ TRANS enters from left to screen center
}

(the spaces between @ and the words aren’t there in the script, I’m just a new user and they said i can only mention 2 people max)

You only need just the flag name in the if/elif. Don’t add the word “gain”

if (skinny) {
} elif (thicc) {
} elif (boy) {
} else {
}

It worked! Thank you so much

1 Like