I’m very very new with choicescript and I decided to do some testing of my own in order to get used to the scripting. However I’ve been struggling to not to get errors on the very first choice. A pop up would show up saying " It is illegal to fall out of a *choice statement; you must *goto or *finish before the end of the indented block".
For instance, nothing will show up and everything is fine. After finishing a few other things for example reaching line 18, and then check on the index, a pop up would say that line 12 is having issues. I thought that it would usually say that line 18 would have issues because it is the recent one I’ve added but it doesnt seem to be the case. I’ve rewritten the choices a couple of times thinking that I accidentally hit space anywhere but it still showed the same pop up. The indents are lined up perfectly and I’m pretty sure theres nothing wrong with the way I used the commands since it’s just the very basic stuff.
Here is what I have:
#You rose an eyebrow in surprise
You didn’t think that anyone would have a luggage that heavy in their suitcase. You wonder what on earth is inside.
#You couldn’t help but chuckle
With the way he looked, you’d think he would know the Airport regulations. As they say, you can’t judge a book by its cover.
#You looked at your own luggage with concern
You hope that you didn’t exceed the weight limight. The thought of being in that man’s shows didn’t seem like a good thing to you.
#You looked somewhere else, loosing interest
Things like this happen all the time. Though you wished it didn’t happen during this long line up.
#You sighed impatiently as you looked at your watch
The guy is holding the line up. He should learn not to waste people’s time by doing something simple such as making sure that his luggage didn’t weigh that much.
I read the wiki of cog, trying to learn how the scripting works and it recommended me to use Notepad++ and that is where I’ve written this stuff on. I also used firefox to show the game itself since it was also recommended. So while I had no errors after typing up the second choice, after I’ve added the fourth choice, that’s where I started having problems. I’ve been trying to rewrite it over and over again thinking it’s just the slip of my fingers but from what I’ve learned with this *choice stuff, what I did seems right to me. Notepad++ shows that the indention is lined up with the choices so I just don’t understand how it’s giving me an error!!
It’s driving me nuts that I can’t even seem to make *choice work properly. Some guidance would help very very much.