Game Development Community

Script not reading after changes

by Joel · in Torque Game Builder · 02/27/2005 (10:21 am) · 4 replies

I'm sure this is something i'm doing wrong, but i can't figure out what it is.

I have been working through the tutorial and occassionally I will make changes to the script file and those changes won't be reflected when I run the file again. It seems as if it's using the last known working version of the script but I'm not sure, i'll keep looking..but i thought it might be useful to see if anyone had any ideas or had experienced this before?

Overall, t2d is pretty cool, i've got my artist pulling together assets for our first project, while it won't be terribly original hopefully we can the process learned for development with t2d so that we can start pushing out this large list of games that we've been talking about for far too long..

#1
02/27/2005 (10:24 am)
Check the console log to see what errors are reported in your changes.

You are correct, if there are errors in your script, the engine will use the "last known working version" (the .dso) instead of trying to run your errors.
#2
02/27/2005 (10:35 am)
Oh geez..i didn't even look for an error log or console. Thanks.
#3
02/27/2005 (12:16 pm)
@Joel: Don't feel bad man. I'm always doing that, don't know why. And to prove it, check the second post I made earlier here in a T2D thread entitled "Simple "Doh!" solutions."

- Melv.
#4
02/27/2005 (12:43 pm)
Hehe..it's so common, Ben's re-write of the TGE console stuff now includes an error status line at the bottom of the console window. It may even make sense to write a quick errorHud for devs to place in their playGui that reports any script compilation errors!

AFAIK, the console modifications are probably going to be in 1.4, but don't quote me on that, please!