Help with a choice

Hello everyone, I am writing a story and I have watched a few tutorials and started writing. I’ve hit a dead end since I don’t know what is wrong with the choice I am creating. It keeps telling me “ERROR: Choices must follow dialog immediately, not a branch”. I have tried many things and nothing seems to work. I will leave the text here so maybe someone can help me on this. Thank you so much by the way.

 NARRATOR
Will you answer?

choice “Speak” {

    ALEX1 (talk_sarcastic)
You must be new around here.

    NARRATOR (NATE)
Indeed love. I take it you're having a wonderful time in here.

} “Stay Silent” {

    ALEX1 (think_rubchin)
(This could be a trap)


    NARRATOR (NATE)
I know there's someone in here, I can smell your blood you know.

}

2 Likes

U need to add dialogue under the choice.

Example:

 NARRATOR
Will you answer?

choice “Speak” {

    ALEX1 (talk_sarcastic)
You must be new around here.

    NARRATOR (NATE)
Indeed love. I take it you're having a wonderful time in here.

} “Stay Silent” {

    ALEX1 (think_rubchin)
(This could be a trap)


    NARRATOR (NATE)
I know there's someone in here, I can smell your blood you know.

}

NARRATOR

Thank you for your reply.

1 Like

is there any other coding, like a pause, speechbubble, music, etc. between the word choice and the narrator’s line? that usually causes that error… - and sometimes if theres an additional line/gap between the choice and its preceeding dialogue it’ll cause that as well

1 Like

I don’t think so… I have it like this… now:

    NARRATOR
Will you answer?

choice “Speak”}
ALEX1 (talk_sarcastic)
You must be new around here.

    NARRATOR (NATE)
Indeed love. I take it you're having a wonderful time in here.

} “Stay Silent” {

    ALEX1 (think_rubchin)
(This could be a trap)


    NARRATOR (NATE)
I know there's someone in here, I can smell your blood you know.

}

    NARRATOR

abc

Thank you! the error disappeared, I did what you suggested but now it says that there is another error:
Unexpected block end: did you forget the { which goes with this } , or forget to put the word “choice” ate the start of this choice option?

I am so sorry to bother you but if you know how to help me i would very much appreciate it.

1 Like
 NARRATOR
Will you answer?

choice “Speak” {

    ALEX1 (talk_sarcastic)
You must be new around here.

    NARRATOR (NATE)
Indeed love. I take it you're having a wonderful time in here.

} “Stay Silent” {

    ALEX1 (think_rubchin)
(This could be a trap)


    NARRATOR (NATE)
I know there's someone in here, I can smell your blood you know.

}

NARRATOR

Thank you for your reply.

@marta.episodestories try it.

1 Like

The first choice option should be under the word choice and not in the same line.

choice (choice_name)
“Option 1” {
##script goes here

} “Option 2” {
##script goes here

}

Just like this :blush:

2 Likes

ooh okay, the brackets are mismatched. its kind of weird to look at, but I think of the brackets like hands { } that hold together all your code haha

1 Like

Thank you! It worked!
I don’t know what you did but it worked :slight_smile:
thank you so much!

1 Like

Ohh, I didn’t realize it was that! Thank you so much, that was probably it. @lanafrazer_episode also helped me so that was probably the issue

2 Likes

The choices code is really weird ahah
Thank you so much

2 Likes