Script errors within my dressing games


#1

Hey people. Whilst writing and creating a dressing game, the same error keeps occuring. It keeps saying “Choices must follow dialog immediately, not a branch”. And I’m not sure what to do. Can anyone help me?


#2

You have to add dialogue before any choice


#3

Does this answer your question @Katie_rxx? :slight_smile:


#4

So what should I put x


#5

You could write something like

label clothes
YOU (think)
(What should I wear today?)
choice
“Outfit1” {
@YOU changes into outfit1
}“outfit2” {
@YOU changes into outfit2
}“outfit3”{
@YOU changes into outfit3
}
YOU (idle)
(Should I wear this?)
choice
“Yes” {
} “No” {
goto clothes
}

So basically you need to have a character say something before entering the word “choice”


#6

ohhhhhhhhh okay, thank you xx


#7