Error: unexpected STRING

#1

Hello, I’ve created this choices for questions between characters:

MELANIE
(What should I ask him?)
NARRATOR
I reccomend you to ask every question!
choice
“Homeland”{
MELANIE (talk_think)
Where are you from? You don’t look like spanish.
BENEDICT (talk_forward)
I’m from England, sweetcake.
MELANIE (talk_excited)
Really? I’ve always wanted to travel there!
}
goto questions
"Siblings"{
MELANIE (talk_shrug)
Do you have any siblings?
BENEDICT (talk_shrug)
I have no one else except for Tom.
MELANIE (talk_startled)
So he’s your brother?
BENEDICT (talk_happy_smile)
Didn’t you notice?
@MELANIE is idle_awkward
}
goto questions

And after I tried to save the story an error occured, saying: “unexpected STRING: Siblings”.
I’m not that good in script, but there’s no differences between string Homeland and Siblings. Correct me if I’m wrong. Can anyone help me please?

#2

MELANIE
What should I ask him?

label questions
NARRATOR
I recommend asking them all!
choice
“Homeland”{
scene here
goto questions
}
“Siblings”{
scene here
goto questions
}
“QUESTION”{
scene here
goto questions
}
“QUESTION”{
scene here
goto questions
}
“QUESTION”{
scene here
goto questions
}
”Done with questions”{
goto continue
}

label continue
story continues here

You can use this as a template for your script, you need to put a label before your choice so the reader will be taken back to that point after asking a question. And the goto must be inside the choice. Hope it’s easier to understand now :slight_smile:

1 Like
#3

Thank you for the template and for your response :smile::wink:

1 Like
#4

Is there any chance to make one of this choices colored gold?

#5

And there’s a new error here:

“Girlfriend”{
@MELANIE is idle_awkward
@pause for a beat
@BENEDICT is think
@MELANIE is deepbreath
@MELANIE is deepbreath
@MELANIE is deepbreath
MELANIE (talk_awkward)
Do you have… a girlfriend?
@MELANIE is idle_awkward
@MELANIE is idle_awkward
@zoom on 320 261 to 282% in 1
@BENEDICT is flirt_fingersnap
zoom on 556 270 to 282% in 2
zoom on 0 0 to 100% in 3
@BENEDICT is cough
goto questions
}

Error says:
There is a { on line 1014 that does not have a matching}

#6

Can you screen shot or take a picture of where the error is? And yes the gold choice would look like this -
< PREMIUM>”Questions”{
answer here
}
without the space between < and PREMIUM

#7

Of course, here is the screenshot:

#8

Put a space between girlfriend and {.

#9

Thak you, but it’s not working, besides everywhere else there are no space between NAME & {

#10

Therefore, I cut out this part:

“Girlfriend”{
@MELANIE is idle_awkward
@pause for a beat
@BENEDICT is think
@MELANIE is deepbreath
@MELANIE is deepbreath
@MELANIE is deepbreath
MELANIE (talk_awkward)
Do you have… a girlfriend?
@MELANIE is idle_awkward
@MELANIE is idle_awkward
@zoom on 320 261 to 282% in 1
@BENEDICT is flirt_fingersnap
zoom on 556 270 to 282% in 2
@overlay BLUSH 1
zoom on 0 0 to 100% in 3
@BENEDICT is cough
goto questions
}

And copied there this part:

“Hobby”{
MELANIE (talk_think)
What are your hobbies?
@BENEDICT is think
BENEDICT (talk_sit_shrug)
Well, mostly bass guitar, skate, football… eh.
MELANIE (talk_think)
Interesting.

Then I renamed it to girlfriend, saved and it was ok, but when I replaced it with actions and dialogue from “Girlfriend” there was the same error

#11

Try indenting your dialogue

#12

Do you mean like that?:

#13

line 1026 and 1028 you need @ before zoom
line 1027 you need to put the right command for an overlay

Also, delete spaces between @ commands and line number

#14

Thank you, everything works perfectly

1 Like
#15

I need help with an error think you can help?

#16

of course! Just post your script or PM me :smiley:

#17

So i try to do reader message and it comes up as speech

#18

it should be readerMessage

#19

Ohhh omg im dumb sorry and thanks :kissing_heart:

#20

happens to all of us :smiley: