Problem with ch4 (new GameTSCtrl)
by Terry Kingston · in Torque Game Engine · 03/03/2005 (4:35 pm) · 3 replies
Here is the error mesage i get in the console
Executing control/client.cs.
control/client.cs Line: 20 - Syntax error.
>>> Advanced script error report. Line 39.
>>> Some error context, with ## on sides of error halt:
// The player sees the game via this control
//------------------------------------
new ##G##ameTSCtrl(PlayerInterface){
profile = "GuiContentProfile";
noCursor = "1";
>>> Error report complete.
Ive checked, and double checked with the book. did i enter that command
wrong? what am i missing?
Executing control/client.cs.
control/client.cs Line: 20 - Syntax error.
>>> Advanced script error report. Line 39.
>>> Some error context, with ## on sides of error halt:
// The player sees the game via this control
//------------------------------------
new ##G##ameTSCtrl(PlayerInterface){
profile = "GuiContentProfile";
noCursor = "1";
>>> Error report complete.
Ive checked, and double checked with the book. did i enter that command
wrong? what am i missing?
About the author
#2
I could be wrong. im still new to all this stuff.
But i was wondering, is there a list of all the variables and funcitons that the engine calls for?
03/08/2005 (9:01 am)
I replaced my files with the ones on the cd and it worked fine. i suspect now that maybe the gameTSCtrl function (or whatever) was missing where it was supposed to be. so when it was called the engine couldnt find it. I could be wrong. im still new to all this stuff.
But i was wondering, is there a list of all the variables and funcitons that the engine calls for?
#3
Oddly enough, I was expecting alot of issues with Chapter 4 as I have been reading these forums, and managed to troubleshoot it myself and it worked pretty effortlessly. I did compare vs the code on the CD which helped, some of it was radically different though. I can't say I understand it all, but I guess that comes with time and more scripting. :)
Ian
03/08/2005 (9:14 am)
There is alot of info in the back of the book. I have looked up a couple of commands back there. I have real trouble finding out which are commands and which are just cleverly named objects and so forth.Oddly enough, I was expecting alot of issues with Chapter 4 as I have been reading these forums, and managed to troubleshoot it myself and it worked pretty effortlessly. I did compare vs the code on the CD which helped, some of it was radically different though. I can't say I understand it all, but I guess that comes with time and more scripting. :)
Ian
Ian Smithers
Try having a search through the rest of the forum, maybe this error has been found before.
It would be great to have a complete list of all errors found so far though.
Ian