Game Development Community

Dynamic Script Reload?

by Zachary Lute · in Torque Game Engine · 12/26/2006 (8:40 am) · 2 replies

Is it possible to dynamically reload TorqueScript at runtime without restarting the engine? If so, are there any resources you could point me to? Searching for "reload" tends to bring up a lot of weapon stuff. :)

Thanks in advance!

About the author

Recent Threads


#1
12/26/2006 (1:16 pm)
Exec("PATH/SCRIPT.CS");

I placed a exec(); command into the CrossbowImage::onFire function, so i can work on a script , fire the crossbow to re-exec it as a fast was to debug script files. (IE: exec("./TESTTEST.cs"); with file TESTTEST.cs located in the /server/scripts folder. )
#2
10/22/2010 (9:42 am)
Does this work in runtime and on the xbox?