I need help, please respond

episode%20error%20help

What’s wrong with my script?

2 Likes

Maybe take out the } before else…? :black_heart:

4 Likes

Thank you, but sadly that didn’t work :frowning: :sparkling_heart:

1 Like

Oof.

:point_down::point_down::point_down:

1 Like

Remove } on line 585 and remove (cute) on line 587. else needs to be by itself like }else{

P.S check out: HOW TO: Remember Past Choices (if/elif/else)

1 Like

Thank you, I’ve looked at that and it still doesn’t work. When I remove (Cute) where do I place it? :sparkling_heart:

You don’t put cute anywhere.

There’s 2 ways to remember past choices.

  1. gains

A gain choice:

NARRATOR
What do you want to drink?

choice
“Orange Juice” {
gain orange_juice

} “Coffee” {
gain coffee

} “Water” {
gain water
}

Remember a gain choice:

if (orange_juice) {
[scene for orange juice here]

} elif (coffee) {
[scene for coffee here]

} else {
[scene for water here]
}

OR you can use the

  1. Choice Name and Option Method.

Using it:

NARRATOR
What do you want to eat?

choice (FOOD)
“Spaghetti” {

} “Donuts” {

} “Sandwich” {
}

Remembering it:

if (FOOD is “Spaghetti”) {
[scene for spaghetti choice here]

} elif (FOOD is “Donuts”) {
[scene for donuts choice here]

} else {
[scene for sandwhich choice here]
}

1 Like

Try this…

if (Hot) {
@CELESTE changes into CELESTE RUNNING OUTFIT HOT
}
if (Casual) {
@CELESTE changes into CELESTE RUNNING OUTFIT CASUAL
}
if (Cute) {
@CELESTE changes into CELESTE RUNNING OUTFIT SWEET
}

1 Like

I tried that but but the character doesn’t enter the scene with the outfit that was chosen, thank you for helping tho!

Hey there can u show the previous part of where u first made that choice?

P.S don’t forget to reset the gains.

How do you reset the gains?

BTW flags are gains.

This is my script. :sparkling_heart:

You didn’t use gains at all. Ok for outfits the choice name & option method is best. I recommend taking that out. You don’t need to remember what the character weared (u made them change into it right after, the code for remembering a choice for an outfit should only be used if u make the character change out of an outfit and then later on want them to change into it). You gave them three options, they pick which one and that outfit stays with them until u give the reader an option to allow them to change into something else.

Thank you so much! So does that mean I don’t need to remember what the reader chose? And in the next scene the outfit they chose stays on them until I give them a choice to change? I’m new to episode so sorry for all these question’s :sparkling_heart::joy:

Yep :smile:

P.S Below is something only if u make them change out of the outfit & then want them to change back into it:

Choice name and option method example:

choice (OUTFIT)
“Hot”{
#script here for hot
}“Casual”{
#script here for casual
}“Cute”{
#script here for cute
}

Remembering it:

if (OUTFIT is “Hot”){
#script for remembering hot
}elif (OUTFIT is “Casual”){
#script for remembering casual
}else{
#script for remembering cute
}

Thank you so much! Btw when I made the clothing choice it made the character change into it for all scenes. Do I just type @CHARACTER changes into outfit to stop the character being in the same outfit the whole way through?

Yep, you can make any character change into anything, anytime, without needing to code a dressing game :+1:

1 Like

you have a { to much.