Game Development Community

Editing script doesn't do anything

by Mikey McCusker · in Torque Game Engine · 03/01/2006 (9:41 pm) · 3 replies

Aaaaaaaaaaarrrrrgh!!!!!!!
i'm so frustrated!!!!!!!!
i keep trying to edit the script in textedit and when i save and then play it doesn't do anything!!!!!!!
oh just one thing... do you think that keeping the script up in the textedit window while playing would be the reason?

#1
03/01/2006 (9:47 pm)
In the same folder as your script, there will be a file named .cs.dso. Delete it. This is the compiled version of your script, and Torque defaults to using it when it's available.
#2
03/01/2006 (9:57 pm)
Most likely there are typos in your script file, and it is therefore loading in the last successfully compiled .dso, as Alex alludes to.

You should scroll back through the console and find out what errors are being reported.
#3
03/02/2006 (1:10 am)
I would also like to encourage you to look into a more TorqueScript specific IDE if there is one available for your development platform. I'm using Codeweaver and it features code parser that will identify problems in your script (defaults to listing in a pane at the bottom of the window). Using such a tool can be a great time saver in tracking down that missing semicolon.