"Unexpected DIALOG"

Hey guys! I have a small problem. I’m currently writing a script and I wanted to do a dressing game but when I try to save my script it says: Unexpected DIALOG?

Can you please help me? :frowning:

This is my script:

@HAIR is think

label choosing_outftit

    HAIR (talk_think)
(Let's see...)

choice

"Red+Beige"{

@HAIR is dustoff_loop

@HAIR changes into RED_SOPHIA

"Black+Blue"{

@HAIR is dustoff_loop

@HAIR changes into BLUE_SOPHIA

"Pink+Brown"{

@HAIR is dustoff_loop

@HAIR changes into RED_SOPHIA

choice

"Choose this outftit"{

}

"Try something else" {

}

Thank you ! :wink: :smiley:

In 1, 2, and 3 you need to add a closing bracket (}).
And in 4 and 5, you will eventually need to add some code, but I do not think that contributed to the error.

I tried to do what you told me but it says: Unexpected sequence: You cannot use a director command (starting with @) here.

My script is this:

label choosing_outftit

    HAIR (talk_think)
(Let's see...)

choice

@HAIIR is dustoff_loop

@HAIR changes into RED_SOPHIA

}
“Black+Blue”{

@HAIR is dustoff_loop

@HAIR changes into BLUE_SOPHIA

}
“Pink+Brown”{

@HAIR is dustoff_loop

@HAIR changes into PINK_SOPHIA

}

choice

"Choose this outftit"{

}

"Try something else" {

}

You dropped your first choice, after the word choice.

CORRECTION you wrote “choice” and then an animation before the options, you need to write it right away

Also, did you mean to write HAIIR? (2 I’s)

I corrected it but it’s still saying : unexpected … :frowning:

Can you show me a screen shot of the script and error message?

label choosing_outftit

    HAIR (talk_think)
(Let's see...)

choice

"Red+Beige"{

@HAIR is dustoff_loop
@HAIR changes into RED_SOPHIA

}
“Black+Blue”{

@HAIR is dustoff_loop

@HAIR changes into BLUE_SOPHIA

}
“Pink+Brown”{

@HAIR is dustoff_loop

@HAIR changes into PINK_SOPHIA

}

choice

"Choose this outftit"{

}

"Try something else" {

}

Still not working, I corrected it and now it says : unexpected DIALOG: Red+beige… ;/

Is there space between the word “choice” and the first option? I know it doesn’t recognize them together if there’s space and it comes out as unexpected garbage (or some other stuff)

fullsizeoutput_4

Can you also send me a picture of the script (a little above the choice)? I am not catching what the error may be.

No :frowning: and also here is a screenshot of my script,

It needs to look like this:

choice
"Red+Beige" {

You can’t skip a whole line between the word choice and the first option.

Also you need to have some kind of dialogue right before that 2nd choice to choose the outfit or not.

1 Like

I’m sorry for bothering you. :frowning: It’s still not working, can you please send me an example of my script with the correction.
The first error I corrected it but the dialog thing isn’t working.

You need to have dialogue before a choice.

HAIR
Is this what I want?

choice
“Choose this outfit” {

}
“Try something else” {

}

@follow HAIR to screen center in zone 2

@HAIR is think

label choosing_outftit

    HAIR (talk_think)
(Let's see...)

choice
“Red+Beige” {

@HAIR is dustoff_loop
@HAIR changes into RED_SOPHIA

}

"Black+Blue"{

@HAIR is dustoff_loop

@HAIR changes into BLUE_SOPHIA

}

"Pink+Brown"{

@HAIR is dustoff_loop

@HAIR changes into PINK_SOPHIA

}

    HAIR
Is this what I want?

choice
“Choose this outfit” {

}
“Try something else” {

}

I did the exact same thing , but it’s saying now: Expected character or change scene fullsizeoutput_7

Just like with the whole “you can’t skip a whole line between choice and the first option”… You can’t skip a whole line between an ending bracket and the next choice option.

So if you did this:

}

"Black+Blue" {

You need to get rid of that line in between and make it look like this:

}
"Black+Blue" {

And you need to do this with all of the choice options.

Omg, thank you so much! It’s finally workinggg ! :smiley: Yeah, you were right I skipped a line between choice and the first option, thank u sm I really appreciate your help, I know understand my errors!
<3.

Thank youu!

You’re welcome! :smile:

1 Like