error: line 1142
it is illegal to fall out of a *choice statement, you must *goto or *finish before the end of the indented block
But line 1142 is
#Stay in his default form and by your side- you do not yet know what the best course of action is but you would like to have Beckham comfortable and at the ready.
It’s a choice! Can anyone help me with this?
You need a goto after the choice, or a finish
So
*choice
#Stay in his default form and by your side- you do not yet know what the best course of action is but you would like to have Beckham comfortable and at the ready.
*goto nextscene
#Or Stay in his default form and by your side- you do not yet know what the best course of action is but you would like to have Beckham comfortable and at the ready.
*finish
Generally, when quicktest gives an error like that, it’s not referring to the option in the line cited, but the option in the indented “#” block before that.
@Cataphrak
EDIT:
Wait, so the error is in the line before the line indicated?
@Caddmuss
There’s a *choice at the end of the option
So I think it may just be indicating the choice that’s before it, which is incomplete.
I’m not sure that’s quicktest (having never used it), but it looks like a playthrough error to me.
*choice’s need a *goto or *goto_scene to continue to a new section, otherwise you’d end up in the next choice’s content at the end. You use *label’s to denote a beginning of a section.
E.g.
Where are you going next?
*choice
#Option A
*goto optA
#Option B
*goto optB
*label optA
You chose Option A.
*label optB
You chose Option B.
Alternatively, I use *fake_choice’s if I’m doing something quick, but all choices end up in the same place after.
What gender are you?
*fake_choice
#Male
*set gender "Male"
#Female
*set gender "Female"
So you're ${gender}? Cool.
Is there a *goto at the end of the option?
It would be handy to see the context – can you post the whole block of text around the choice?
@Havenstone
I realized that it’s indicating the choice before it, which was incomplete (i.e. I hadn’t expanded it with a *goto, *finish, or *choice)