What does "ERROR: too many values to unpack," mean?

I don’t know what values even are? And it won’t show me my problem.
Is it because I have too many choices? What do I do to fix it?

INT. FILES - DAY
@cut to zone 3
@EXPL spot 2.207 39 -438 in zone 3 AND EXPL faces left
@EXPL starts idle_rear
@MCF spot 1.991 247 -326 in zone 3
@MCF starts idle_rear AND MCF faces right
@pause for 1
@EXPL walks to spot 0.947 90 156 in 2 AND MCF walks to spot 0.902 218 187 in 2 AND EXPL starts walk_neutral_loop_rear AND MCF starts walk_neutral_rear AND EXPL faces left AND MCF faces right
@pause for 1
EXPL (talk_unsure)
So, Mei, are you going to tell me what I’m doing here?
MCF (talk_pointup_pretentious)
I need your help getting a space explorer license.
EXPL (talk_apathetic)
How do you not have one, commander?
MCF (talk_neutral)
My mother never let me get one.
MCF (talk_afraid)
And you know how she controlled me.
EXPL (talk_neutral_unsure)
Well let’s sign up for a lesson.
@EXPL walks to 0.866 58 222 in zone 3
@pause for 1
@EXPL starts tinker_stand_neutral_loop_rear
@pause for 1
EXPL
Name?
MCF (talk_angry)
Mei Li.
EXPL
Gender?
MCF (talk_armscrossed_angry_loop)
Female
EXPL
Favorite food?
MCF (think_rubchin)
(My favorite food?)
choice “Episoda” {
MCF (talk_unsure)
Episoda
EXPL (talk_sarcastic)
That’s not a food.
gain episoda_food
} “Marshmellow Turkey Fluff Sandwich” {
MCF (talk_unsure)
Marshmellow Turkey Fluff Sandwich
EXPL (talk_disgusted_atcamera_loop)
Ew.
gain marshmellow_food
} “Panini Sandwich” {
MCF (talk_unsure)
Paninis
EXPL (talk_apathetic)
I didn’t know you had taste.
gain panini_food
} “PB&J” {
MCF (talk_unsure)
Peanut butter and jelly sandwiches.
EXPL (talk_confused_mindblown)
Peanut butter and jelly!? Your favorite food?!
gain pb_food
} “Tomato, Lettuce, and Ham sandwich” {
MCF (talk_unsure)
A basic sandwich.
EXPL (talk_sarcastic)
You are basic.
gain sandwich_food
} “Chocolate Chip Cookie” {
MCF (talk_unsure)
Cookies.
EXPL (talk_disgusted_atcamera_loop)
What are you a toddler?
gain cookie_food
} “Donuts” {
MCF (talk_unsure)
I like donuts.

i believe this is the problem. there’s too many things happening. it’s like a run-on sentence, you have to end it sooner.

try this instead:

&EXPL walks to spot 0.947 90 156 in 2 AND EXPL does it while walk_neutral_loop_rear
&MCF walks to spot 0.902 218 187 in 2 AND MCF does it while walk_neutral_rear
@EXPL faces left
@MCF faces right

Pretty sure it means that this line of code is wrong/too long. You need to put “MCF” on a separate line of code to “EXPL”. If you need them to do things at the same time, use &.

You’re missing walks to spot here!
It should be

@EXPL walks to spot 0.866 58 222 in zone 3

You’re also missing } after the “Donuts” :

So it should be
} “Donuts” {
MCF (talk_unsure)
I like donuts.
}

1 Like

wow, i’m stupid thank you guys

1 Like

Not at all! And episode errors literally never make sense haha

But yeah, you can keep the long command long as there doesn’t seem to be a problem with it, it’s the missing spot and the open choice that will give you the error! The only thing I’d suggest with the long command is specify the zones in which they are, so they don’t end up in a random spot!

Ok, but even if I fix everything you guys told me about, it still gives me the error so I guess I’ll just have to live with it for the rest of my life.

1 Like

did you add the script i gave you? maybe click the warning to see where the problem is. i tried it before i gave it to you and it worked🤔

I have tested it in my portal
the eror goes from this line

@EXPL walks to spot 0.866 58 222 in zone 3

After I added the missing word SPOT the error was gone.

Also when you click on the error it in most times brings you to the line where the problem is - it pointed to this line.

This is all really confusing.

I did, it still says too many values

1 Like

How to I fix it tho?

as said you have to add the missing word spot

you have
@EXPL walks to 0.866 58 222 in zone 3

but it should be
@EXPL walks to spot 0.866 58 222 in zone 3

oh sorrryy

1 Like

Thank you.

1 Like

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