Game Development Community

Can't add new scripts to the demo?

by Amr Bekhit · in Torque Game Builder · 01/25/2009 (10:44 am) · 2 replies

Hello all,

I downloaded the TGB demo today and have been going through the tutorials. Some of the tutorials involve writing script files and although I've followed the instructions, I don't seem to be getting any changes at all. I'm starting to suspect that the demo does not look for and compile new script files. Is this true, or is it me doing something wrong?

I'm using v1.7.4

Thanks

--Amr

#1
01/25/2009 (3:34 pm)
Are you executing the new scripts? If not, take a look at game.cs around line 27 for an example.

exec("./newScriptNames.cs");

Hope it helps,
Patrick
#2
01/28/2009 (11:12 am)
Hi Patrick,

Thanks for your reply - I think I was putting the exec into the wrong game.cs file :O! All ok now, thanks!

--Amr