Coding and script help: choices and branching

Hello! I’m writing a mystery story and I need help with my choices and branching. One of the choices is to look around the house for clues and the other is to wait. Should I use GAINS instead of branching out a scene? My script looks like this, i think I screwed something up.

choice

“Look around the house” {
goto look_around

label look_around

    FEMALEAVATAR (listen_nod_happy_loop)
Stella won't mind if I look around a little bit.

@follow FEMALEAVATAR to screen left in zone 2
} “Wait until Stella gets home” {

}

1 Like

you can’t have labels inside the choices, you can just put them outside the choice

choice
“Look around the house” {
goto look_around

} “Wait until Stella gets home” {
goto merge_story
}

label look_around

FEMALEAVATAR (listen_nod_happy_loop)

Stella won’t mind if I look around a little bit.
@follow FEMALEAVATAR to screen left in zone 2

label merge_story
@pause for 0
#rest of story goes here

1 Like

Oh okay! Thank you!!

It says there is an error ‘choices must follow dialog immediately, not a branch.’ i’m confused on what that means.

you need to have a dialogue before the choice

CHARACTER
Text.
choice

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