Game Development Community

Script question

by Michael Rowley · in Torque Game Engine · 10/29/2002 (3:51 pm) · 1 replies

I wrote a script and put it in the /fps/server/scirpt directory however when i try to call it from the console it gives me invalid input.

I copied the entire example/direcotrys to another location incase i screwed something up.
is there a default /root path somewhere that i am missing? or does it defualt to c:\torque\examples\fps?


thanks.

#1
10/29/2002 (4:05 pm)
"Invalid input" means there's a problem with your calling the exec command. Should be like this:

exec("fps/server/scripts/blah.cs");

The root path is the location of the executable.