Client/server scripting commands???
by Azmodeus · in Torque Game Engine · 08/17/2005 (10:23 pm) · 3 replies
I have seen in scripts commands like %client.getAddress, or %client.getAuthinfo() or %client.isAdmin...
where are these functions defined and is there a scripting documentation that describes all of these functions?
If there is, I just havnt found it. Please point me in the right direction.
where are these functions defined and is there a scripting documentation that describes all of these functions?
If there is, I just havnt found it. Please point me in the right direction.
#2
whereas a % is just a variable, local to that function and no further.
08/18/2005 (2:41 am)
A $ is a global, you can access it from anywhere in your code.whereas a % is just a variable, local to that function and no further.
#3
http://www.garagegames.com/docs/tge/general/index.php
like what $ and % is for example.
http://www.garagegames.com/docs/tge/general/ch05s02.php
I would like to see some reference properly describing the different member functions and variables exposed to the console/script for the classes like ShapeBase, etc etc. This http://www.garagegames.com/docs/tge/general/apd.php for Datablocks is pretty nice, but I didn't notice anything like that for the classes.
08/18/2005 (3:08 am)
Have a look at Torque documentation, it describes a lot about the script languagehttp://www.garagegames.com/docs/tge/general/index.php
like what $ and % is for example.
http://www.garagegames.com/docs/tge/general/ch05s02.php
I would like to see some reference properly describing the different member functions and variables exposed to the console/script for the classes like ShapeBase, etc etc. This http://www.garagegames.com/docs/tge/general/apd.php for Datablocks is pretty nice, but I didn't notice anything like that for the classes.
Torque Owner Azmodeus
Ok great.
But, what is the difference between % and $ when it comes to variables?