What am I doing wrong, help!

    LOUISIA (admire_happy)
What do you want to wear?

choice (OUTFIT_1)
“Outfit 1” {
@LOUISIA changes into Louisia pk
#add your own dialogue and animations

}if “Outfit 2” {
@LOUISIA changes into Louisia club
#add your own dialogue and animations

}elif “Outfit 3” {
@LOUISIA changes into Louisia bae
#add your own dialogue and animations
}else{
}

    LOUISIA (admire_happy)
Do I want to wear this one?

choice
“It’s perfect!” {
#add your own dialogue and animations

} “No, I want to try on the others!” {
goto dressing_game_1
}

I need to use if elif and else but I’m doing something wrong

Try using this code instead:

Summary

label dressing_game_1

LOUISIA (admire_happy)
What do you want to wear?

choice
“Outfit 1” {
@LOUISIA changes into LOUISIA pk

LOUISIA (admire_happy)
Do I want to wear this one?

choice
“It’s perfect!” {
#add your own dialogue and animations

} “No, I want to try on the others!” {
goto dressing_game_1
}

} “Outfit 2” {
@LOUISIA changes into LOUISIA club

LOUISIA (admire_happy)
Do I want to wear this one?

choice
“It’s perfect!” {
#add your own dialogue and animations

} “No, I want to try on the others!” {
goto dressing_game_1
}

} “Outfit 3” {
@LOUISIA changes into LOUISIA bae

LOUISIA (admire_happy)
Do I want to wear this one?

choice
“It’s perfect!” {
#add your own dialogue and animations

} “No, I want to try on the others!” {
goto dressing_game_1
}

}

2 Likes

you just as it seems by accident deleted the label on the start of the template

label dressing_game_1

LOUISIA (admire_happy)
What do you want to wear?

choice (OUTFIT_1)
“Outfit 1” {
@LOUISIA changes into Louisia pk
#add your own dialogue and animations

1 Like

But I want the outfit to be remembered in the next chapter so I need to use if elif and else

No that’s not the problem because it still doesn’t work :slightly_frowning_face:

oh Jesus sorry I was blind you mixed up choice and if/elif else together. I haven’t noticed it at first sight

label dressing_game_1
LOUISIA (admire_happy)
What do you want to wear?
choice (OUTFIT_1)
“Outfit 1” {
@LOUISIA changes into Louisia pk
#add your own dialogue and animations
}“Outfit 2” {
@LOUISIA changes into Louisia club
#add your own dialogue and animations
}“Outfit 3” {
@LOUISIA changes into Louisia bae
#add your own dialogue and animations
}

LOUISIA (admire_happy)

Do I want to wear this one?
choice
“It’s perfect!” {
#add your own dialogue and animations
} “No, I want to try on the others!” {
goto dressing_game_1
}

The if elif else is used after you will need to recall later in the story the reader’s choice - for example, she goes to shower and you need to dress her back to what the reader has picked without asking him again what she had on.

1 Like

Thanks but is this choice remembered in the next chapter or do I use if etc. And how do I do that in that case?

the script will remember it till the end of the story - you just have to make sure that any other of your choices isnt named like this one

choice (OUTFIT_1)

so if you will use this template next time change the name of the choice to for example

choice (OUTFIT_2)

the only “problem” is that portal where you write doesn’t remember choices from previous chapters because the portal works bit differently than the app. But when you will test it in the app it will remember it.

1 Like

Thank you so much!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.