Coding - Can't find the error

So it goes like this. (I know it’s gonna be like an extra space or something… :roll_eyes: )
I’m working choices within choices and it’s kinda down the line like this…(working one path at a time.) The choices will give you different scenes as well as affect your story down the line. So I have the error screenshot followed by the code. I wasn’t having this problem until I started writing the scene for 1B.

CHOICE - 1,2,3

1 - Scene CHOICE A,B
- A - Scene (take to end of chapter.)
- B - Scene (take to end of chapter.)
2
3

Error

Line 6667 is missing a bracket it should look like this:

]“Oh crud”[

Then it thinks I’m missing a bracket or the word choice. Do you mean directly around the “oh crud” or am I missing a bracket up top as well?

1 Like

I don’t think the coding is accepting other text or empty lines between choice options, but I’m not quite sure… Maybe try to remove these things

Maybe I’ll do that. Save them to another doc and start from scratch, Line by line. :weary: Ah well. Such is coding. But if you or anyone else sees anything else, please let me know. ((Doesn’t help that I’m running on no sleep…))

1 Like

Your forgeting the word choice

its would be

choice
“first choice” {
} “seconed choice”{
}

I’m not sure if you understood what I meant because it’s not a lot you’d have to remove.
Just line:
6617, 6618, 6619
6664, 6665, 6666
6682, 6683, 6684

It’s there. Lemme see… K, so the way I’ve been working it is as follows.

stuff
CHOICE
“Are you serious?”{ stuff choice"Turnback"{stuff goto ch1 end} “Chance a run”{stuff go to ch1 end}}
“Oh crud”{stuff possibleCHOICE “2A”{stuff go to ch1 end} “2B”{stuff goto ch1 end}}
“Not happenin dude” {stuff - rinse repeat}

label
rest of chapter.

Is this correct?

1 Like

Is “stuff” a lable

no. just represents the scene text.

1 Like

How many choices are in the same choice menu? (If that makes sense?)

Because it’s hard to know if some of your choices are supposed to be in one part or separate.

For example, I’ve noticed that your first choice “Are you serious” is on it’s own, as you’ve used the word choice again for your next one which is “Turn Back” whereas if they were supposed to be choices together where the reader picks, you would write the word choice again, it would be like this… (and you would follow this theme)

Choice “Are you serious”{

scene here

} “Turn Back” {

scene here

}

So on so on.

(If they’re separate your missing a choice block end on line 6517 to close the bracket before your second choice)

1 Like

Choice 1 has 3
within the first choice of that choice is another that has 2…

TEXT
choice
“are you serious”
(apparently) -choice
(it wont) “Turn back”
(indent) “chance a run”
“Oh crud”
“Not happenin dude.”
The italicized ones represent paths not written yet.

So if I understand right within the “are you serious” branch, you then have these choices: turn back, chance a run, oh crap, not happening dude?

only turn back and chance a run.

Right okay, and where does oh crap and not happening dude go then? Which branch?

The initial branch in with “are you serious”

I see!

It would really help if you could copy and paste this whole section into DM and I can have a proper look and see if I can find it that way :slight_smile:

Well thus far I’ve cut everything away and only have “are you serious” as a choice currently. I figured if I take it bit by bit there, I might figure it out.

Speaking of such things, is that how proofreaders and such work?

So from what I can see, it’s because you have text outside the branches on the following lines: 6618,6619,6665,6666,6683,6684

So for example you have your branch closed like this…

}

CHARACTER
dialogue

“choice” {
scene
}

So what’s happened here is you’ve put dialogue in between choices, you need to either put these inside the bracket or remove them because they’re interrupting the coded choices. It should only be formatted like this for example…

previous choice

CHARACTER
dialogue (BEFORE CLOSING THE BRACKET)
}
“choice” {
scene
}

If that makes sense. If you have the word choice, you can have dialogue above it, but if its within the same menu, you need to make sure there’s no dialogue after the closing bracket and before the next choice bracket.

Well, I think it’s because you have an option for a choice and then dialogue and then another option because of which it isn’t working.

1 Like