Torque Game EngineTorque Game Engine Documentation
Version 1.3.x

Appendix C. Torque Console Commands and Functions

Table of Contents

Terms
Reserved Key Words
Script Operators
Commands and Functions

Here is a list of each console command and function used in the Torque Game Engine. Examples of each command or function will be given, along with its prototype, and its return value.

Terms

string

Refers to any single or double quoted collection of characters that can include both numbers and text.

boolean

Refers to a numeric value of either 1 or 0 (1 being TRUE and 0 being FALSE).

numeric

Refers to any intrinsic numeric data type (whole number, boolean, decimal number, and/or a hexadecimal number.

global variable

Refers to a variable that is accessible from within any function or script.

local variable

Refers to a variable that is only accessible within the function or script it is created.

variable

Refers to any string that begins with a percent sign (%) denoting a local variable or dollar sign ($) denoting a global variable.

tagged string

Tagged strings is used for any string constant that is transmitted across a connection. The entire tagged string is sent only once. When referenced a short tag (numeric value) identifying that string is sent instead of the entire string.