What does "UNEXPECTED BLOCK_BEGIN: { " mean?


#1

I thought it meant that I didn’t have a matching pair of “{ }” but I do. What does that mean? Or did I somehow find a bug?
This is the code I have. Also, I’m using the INK style.

    JULIUS
What do you think we should make for dinner?

choice {
“Meatloaf”{
VALKYRIE
I love meatloaf!

}“Salad”{
VALKYRIE
Salad is good for us!
}

}

The Parser Error (the red x) showed up next to the line “choice {”. Does anyone know how I can resolve this? Also that choice is off of the “Master List of Directing Commands”.

CHARACTER
What do you think we should make for dinner?
choice (DINNER_TUESDAY)
“Meatloaf”{
CHARACTER
I love meatloaf!

gain loves_meatloaf
}”Salad”{
CHARACTER
Salad is good for us!

gain loves_salad
}


#2

Hi @NippuSimmer! I have gone ahead and moved this thread to the Directing Help & Tips section as you are looking for scripting assistance. Thanks!


#3

Thank you!


#4
    JULIUS
What do you think we should make for dinner?

choice
“Meatloaf”{
VALKYRIE
I love meatloaf!

}“Salad”{
VALKYRIE
Salad is good for us!
}

You have a bracket after the word choice that’s why it gives you an error


#5

“Meatloaf”{

VALKYRIE

I love meatloaf!

}“Salad”{

VALKYRIE

Salad is good for us!

}

} -> take this out

Hope this helps! :wink:


#6

Hi.
As Apes and WinterMoon05 have already informed you, you have to many brackets.
At each choice alternative you should only have one opening { and one closing } bracket. Unless you have a choice within the choice, then you finnish with two } }
A tip to make it easier to keep track of the brackets, is to write the choice alt starting with the quotated name, instead of the }. Remember, the closing bracket } always finishes, never starts.

choice
"Alt 1"{<—this is the starting bracket.
The scene playing out
} <—this bracket ends the choice alt
"Alt 2"{
Scene
}

<3


#7

Closing due to one month of inactivity :slight_smile:


#8