What is wrong in my script?

@BG1 spot 0.416 222 369 in zone 1 AND BG1 faces right AND BG1 is think_rubchin AND BG2 moves to layer -4 AND BG2 spot
0.457 281 353 in zone 1 AND BG2 is idle_awkward_scratch_loop AND BG2 faces left AND BG2 moves to layer -2 AND RENT spot 0.423 137 363 in zone 1 AND RENT is idle_sit_serious_loop AND BG3 stands screen center in zone 2 AND BG4 spot 1.239 247 -5 in zone 2 AND BG5 stands screen center in zone 2 AND BG6 stands screen center in zone 2 AND BG7 spot 0.841 112 178 in zone 2 AND BG7 is talk_flirt_smile_shiftweight in zone 3 AND BG8 spot 0.992 153 68 in zone 3 AND BG8 faces right AND BG8 is flirt_coy_subtle AND RANDOM1 stands screen center in zone 2 AND RANDOM2 spot 0.724 21 218 in zone 2 AND RANDOM2 is dance_shake_happy_loop AND RANDOM2 faces right AND ZOLTAN spot 0.738 48 240 in zone 1 AND ZOLTAN is dance_groove_happy_loop

It’s giving me the error where it’s like did you forget to capitalize the name or add () around the animation?

If you can’t read my big blob:

@BG1 spot 0.416 222 369 in zone 1 AND BG1 faces right AND BG1 is think_rubchin AND BG2 moves to layer -4

AND BG2 spot
0.457 281 353 in zone 1 AND BG2 is idle_awkward_scratch_loop AND BG2 faces left AND

BG2 moves to layer -2 AND RENT spot 0.423 137 363 in zone 1 AND RENT is idle_sit_serious_loop

AND BG3 stands screen center in zone 2 AND BG4 spot 1.239 247 -5 in zone 2 AND BG5 stands screen center in zone 2

AND BG6 stands screen center in zone 2 AND BG7 spot 0.841 112 178 in zone 2

AND BG7 is talk_flirt_smile_shiftweight in zone 3 AND BG8 spot 0.992 153 68 in zone 3 AND BG8 faces right

AND BG8 is flirt_coy_subtle AND RANDOM1 stands screen center in zone 2 AND RANDOM2 spot 0.724 21 218 in zone 2 AND RANDOM2 is dance_shake_happy_loop

AND RANDOM2 faces right AND ZOLTAN spot 0.738 48 240 in zone 1 AND ZOLTAN is dance_groove_happy_loop

They are not on the same line.

Remove this.


@BG1 spot 0.416 222 369 in zone 1 AND BG1 faces right AND BG1 is think_rubchin AND BG2 moves to layer -4 AND BG2 spot 0.457 281 353 in zone 1 AND BG2 is idle_awkward_scratch_loop AND BG2 faces left AND BG2 moves to layer -2 AND RENT spot 0.423 137 363 in zone 1 AND RENT is idle_sit_serious_loop AND BG3 stands screen center in zone 2 AND BG4 spot 1.239 247 -5 in zone 2 AND BG5 stands screen center in zone 2 AND BG6 stands screen center in zone 2 AND BG7 spot 0.841 112 178 in zone 2 AND BG7 is talk_flirt_smile_shiftweight AND BG8 spot 0.992 153 68 in zone 3 AND BG8 faces right AND BG8 is flirt_coy_subtle AND RANDOM1 stands screen center in zone 2 AND RANDOM2 spot 0.724 21 218 in zone 2 AND RANDOM2 is dance_shake_happy_loop AND RANDOM2 faces right AND ZOLTAN spot 0.738 48 240 in zone 1 AND ZOLTAN is dance_groove_happy_loop

1 Like

Thank you soo much :grin:

1 Like

Hello, I have an issue with my script, and I don´t know how to fix it, so I was hoping you could help me? :slight_smile:

First of all, I added a template to customize the appearance of the character, and it says:

    NARRATOR
Now, moving on...

label fem_custom_btx2

    NARRATOR
Do you want to tweak your appearance?

choice
“Yes!”{
@zoom on 150 350 to 150% in 0

choice
“Body Type” {
goto fem_body_btx2

}“Skin Tone” {
goto fem_skin_btx2

}“Hairstyle & Color” {
goto fem_hair_btx

}“Facial Features” {
goto fem_faceoptions_btx2

} “This is perfect!” {
goto fem_end_btx2
@zoom reset
}

– And so on with what happens when you click on each one of these choices…

The issue appeared at: “Body Type” {
(At the beginning after the choice: “yes”)

The error says:

“Expected CHARACTER or SCENE change. Found ““Body Type”{” instead. Did you forget to CAPITALIZE the the name, or close the () around the animation?”

AND

“Choices must follow dialogue immediately, not a branch.”

No char is supposed to say anything here, during the customization, so I am very confused… I get that it might be wrong to have to choices after each other, but I still dont understand how to fix it, and Ive been trying a lot…

1 Like

Hey there! I think someone would be more likely to help if you made a topic. :grin:

Oh, Im sorry, I didnt know that was something you had to do, lol.

Im new to writing and asking in these forums :) How do you do it? (You dont have to help if you`re not available)

1 Like

If you press the Episode logo on the top left, you should see a new topic button near the right. And it’s okay hahaha!

1 Like

It needs to have a dialogue before a choice.

NARRATOR
What do you look like?
choice
“Body Type” {
goto fem_body_btx2


Also, the branch cannot end with something else when goto is used. Either remove zoom reset or move this line before the goto.

} “This is perfect!” {
goto fem_end_btx2
}

or

} “This is perfect!” {
@zoom reset
goto fem_end_btx2
}

1 Like

Thank you so much for your help! I appreciate it :grin:

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