Engine:Console commands: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1: Line 1:
{{\|dev|macronav}}
{{\|dev|macronav}}
This is a reference for Engine console commands available for use a [[chat window]] or other console, and as [[macro commands]] in a [[macro]].
This is a reference for Engine [[console commands]] available for use a [[chat window]] or other console, and as [[macro commands]] in a [[macro]].


This list describes all of the 'slash' commands from Engine itself, and not from any additional modules or [[AddOn]]s. These same commands are available in the base Engine scripting language.
This list describes all of the 'slash' commands from Engine itself, and not from any additional modules or [[AddOn]]s. These same commands are available in the base Engine scripting language.


By default in the core or empty UI, the console can be entered during runtime by pressing the 'back tick' (`) and exited by pressing escape (Esc). If in a chat type box, commands can be run by starting with a forward slash before the command line, to separate them from actual chat.
== Notes ==
 
* By default, the console can be opened by pressing the 'back tick' (`) and exited by pressing escape (Esc). If in a chat type box, commands can be run by starting with a forward slash before the command line, to separate them from actual chat.
== Reference ==
In Engine, commands are divided into sets defined by [[module]]s. Some commands are always available by default. Others are only available by setting console context to that module first. In some modules, there can be a default command that gets run if no actual command is specified.


=== Key ===
=== Key ===
Line 27: Line 25:
* Context - A script or command context. Each context may have its own commands and variables and rules.
* Context - A script or command context. Each context may have its own commands and variables and rules.
* Module - An independent static module built into the engine.
* Module - An independent static module built into the engine.
== Reference ==
In Engine, commands are divided into sets defined by [[module]]s. Some commands are always available by default. Others are only available by setting console context to that module first. In some modules, there can be a default command that gets run if no actual command is specified.


=== Data module ===
=== Data module ===