Torque Console Commands

Author Topic: Torque Console Commands  (Read 74789 times)

You know, a Blockland command reference would be a whole lot nicer than a Torque one.

If there was a Blockland one there wouldn't be much more.

I mean JUST a BL one. Because, um, none exists and it'd be useful for newbie coders.

See also: Me, plus half of the forums.

Really, there's no 'printcommands' function or something as far as I know; as of yet I've not seen one. It'd be nice having at least a cursory list of BL-specific console commands.

EDIT: ...Alright, I feel dumb:

Quote
dumpConsoleFunctions()
Purpose
Use the dumpConsoleFunctions function to prints all registered functions to the console.
Returns
No return value.
Notes
This will dump all funtions that were registered from within the engine, AND from the
console via scripts.
See Also
dumpConsoleMethods
« Last Edit: January 09, 2009, 02:27:02 PM by Midna »

dumpConsoleClasses() will also give you information about every object/object type in the game.

dumpConsoleClasses() will also give you information about every object/object type in the game.

Quite a bit of it is just nonsense about GUI (since they're objects too), which you could much more easily access via the GUI editor. There is some decent stuff in there though.

Try running a dedicated LAN or something and then doing it.

What sorta file is .rtf, never seen it before.
on mac, it's the default file used for saving. it means rick text format.

On servers, when host, how do you appear to log off, but talk through the console?
No, Not talk.
MessageAll(' ',"\c3NAME\c6: Message");
appears as
NAME(white): Message

No, Not talk.
MessageAll(' ',"\c3NAME\c6: Message");
appears as
NAME(white): Message
talk("Message");


This is all very confusing.
Can someone post a link to something that would give me a tutorial on scripting?
I feel very dumb and left out here :(

This is all very confusing.
Can someone post a link to something that would give me a tutorial on scripting?
I feel very dumb and left out here :(
Read scripts.

"startRecord(filename)
   -Used to record a demo
   -No return type
   
   startRecord(MyNiftyDemo);

stopRecord()
   -Used to stop recording a previously started demo
   -No return type

   stopRecord();

playDemo(filename)
   -Used to play back a recorded demo
   -No return type

   playDemo(MyNiftyDemo);


isDemoRecording()
   -Used to determin if a demo is currently being recorded
   -Returns a numeric (0 = FALSE 1 = TRUE)

   if( isDemoRecording())
      echo(“Can only record one demo at a time”):"
That part got my Eye, Can you give me more information on those Commands please?

I wanted to know if there was a command that made the numbers on the clock in the bedroom to change, i already know " explodeclock(); " and that's not what i mean.

Also, i wanted to know if there as a command to make SOMEONE ELSE disconnect. i only know how to make myself disconnect: " disconnect(); "


Okay so what's the comamnd to make the Map Darker or lighter?
Untill you change it... :/