New to Choicescript, yay!
I’m confused at the error since I thought I had it at the top?
“startup
executing
QUICKTEST FAILED
Error: startup line 4: Invalid scene_list instruction, only allowed at the top of startup.txt”
My code looks like this:
<!nav = new SceneNavigator(["startup"]);
*title dnd campaign tyche
*scene_list
startup
history
nk_observations
*create name "Unknown"
*create class "Unknown"
-->
You don’t need html tags in your code, anywhere. It should just be plain text. If you’re copying that out of something else, you’ll need to remove all those tags.
So I think the issue is based on where you have capitalizations, which is okay in some places but not in others. Things like title, author, comments, and text can have capitalized words, but everything else I think is a no go. In my case I changed “Unknown” to “unknown” and the error went away.
You lost me. Anything enclosed in quotes like that can be capitalised any way you like, as can any other text. You must have done something else to get rid of that error.
Well gosh I thought that was what it was, but you’re right. I capitalized it again and it’s just fine. I thought I had received the same error whether I had " nav = new SceneNavigator([“startup”]); " or not. But it must have been that, I can’t imagine what else. Just incase I created a new startup file with just my intended code. Sorry for the confusion!