Chapter 3 , MoveShape Problem
by Jason Rhodes · in Torque Game Engine · 02/02/2008 (10:54 pm) · 1 replies
I am trying to get this command to work correctly before moving on.
I am using version 1.5 of the engine so things are slightly different than the book.
My problem is compiling and running the moveshape.cs script from the console.
I type in ((( Note My Path is not demo ))) ---> exec("(MyPath)/moveshape.cs");
I correctly get the response ----> Compiling moveshape.cs...
I never get a response back from the compile.
IE: I never see the message ----> Loading compiled script moveshape.cs
I know that the compile is finding the script, I have gone in and taken out all white space in the script
to try and debug for a weird character space. I have also retyped the whole thing from scratch.
I get no errors, I also get no response. When I try to use MoveShape() function the engine tells me this
is an unknown or unable to find.
I am wondering if there is some difference between the 1.4 engine and the 1.5 engine that may be keeping this command from working correctly for me?
I am using the starter.fps game to load the script and have been playing with one of the cottages.
Thank you for your insight if you have encountered this problem, or have an idea.
I am using version 1.5 of the engine so things are slightly different than the book.
My problem is compiling and running the moveshape.cs script from the console.
I type in ((( Note My Path is not demo ))) ---> exec("(MyPath)/moveshape.cs");
I correctly get the response ----> Compiling moveshape.cs...
I never get a response back from the compile.
IE: I never see the message ----> Loading compiled script moveshape.cs
I know that the compile is finding the script, I have gone in and taken out all white space in the script
to try and debug for a weird character space. I have also retyped the whole thing from scratch.
I get no errors, I also get no response. When I try to use MoveShape() function the engine tells me this
is an unknown or unable to find.
I am wondering if there is some difference between the 1.4 engine and the 1.5 engine that may be keeping this command from working correctly for me?
I am using the starter.fps game to load the script and have been playing with one of the cottages.
Thank you for your insight if you have encountered this problem, or have an idea.
Torque Owner Dale Harper
My guess is that there is a typo in the moveshape.cs script, the book is full of them. I had the same problem with moveshape in ch3, finally just moved on. I am using the torque version that came with the book so that is probably not the problem.
Hope this is helpful,
Dael