Error in .ssc file (Line 2): object name expected
Posted: 13.02.2021, 05:01
So I was able to get a hold of a Windows device in order to continue developing add ons for Celestia. However, I'm now running into a new problem when creating my add ons. Using my SNC Dream Chaser .ssc file as a template for my future add ons, I am now ending up with none of my add ons loading in Celestia aside from Dream Chaser itself. With only the following error being spat out of the Celestia console.
Error in .ssc file (Line 2): object name expected
Now I know for a fact that the only thing on line 2 is the "{" which starts the main section of code for the .ssc file. Is there something that I'm doing wrong that I was able to get away with on MacOs? I use Microsoft VS Code both on Windows & MacOs to create my .ssc files, and I haven't been able to determine what it is that I am doing wrong now that didn't occur when I created Dream Chaser.
Error in .ssc file (Line 2): object name expected
Now I know for a fact that the only thing on line 2 is the "{" which starts the main section of code for the .ssc file. Is there something that I'm doing wrong that I was able to get away with on MacOs? I use Microsoft VS Code both on Windows & MacOs to create my .ssc files, and I haven't been able to determine what it is that I am doing wrong now that didn't occur when I created Dream Chaser.