Adding scripts to the game.cs file
by Spider_Man · in Torque Game Engine · 08/10/2006 (11:25 am) · 2 replies
Hi everyone,
i'm following the Fish tutorial with the TGB engine ... and every time i add Fish move script , my fild wont work.
Could you please advice me about how to add any script inside the game.cs file .
i'm newbies and i really wish you kindly guide me slowly :)
regards
i'm following the Fish tutorial with the TGB engine ... and every time i add Fish move script , my fild wont work.
Could you please advice me about how to add any script inside the game.cs file .
i'm newbies and i really wish you kindly guide me slowly :)
regards
About the author
#2
in Server/scripts/Game.cs find the following:
exec("./fish.cs"); just make sure that fish.cs is in the same folder as the game.cs that you are working on.
08/13/2006 (7:21 am)
Spider_man,in Server/scripts/Game.cs find the following:
// Load up basic datablocks, objects etc.
exec("./audioProfiles.cs");
exec("./camera.cs");
exec("./markers.cs");
exec("./triggers.cs");
exec("./inventory.cs");
exec("./shapeBase.cs");
exec("./staticShape.cs");
exec("./radiusDamage.cs");
exec("./chimneyfire.cs");
exec("./item.cs");
exec("./weapon.cs");
exec("./flag.cs");under that, add in your fish.cs in the same way it's done with the other cs files.exec("./fish.cs"); just make sure that fish.cs is in the same folder as the game.cs that you are working on.
Torque Owner Okashira