How to get current working directry??
by Tim Kin Chu · in Torque Game Builder · 08/10/2006 (1:40 am) · 3 replies
How to get current working directry??
#2
08/10/2006 (7:20 pm)
I am just confused when using the exec() to include the files.
#3
08/11/2006 (7:50 am)
Well all your script files will normally be in the gameScripts directory. You will be calling it from the game.cs file which is also in the gamescript directory. Therefore, you just need to use "exec("./myScripts.cs")" . The ./ represents that it is in the same directory as the file that's calling it (game.cs).
Torque Owner Apurva Amin