Engine:Console commands: Difference between revisions

Line 6: Line 6:
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.
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.


== 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 ==
* 'Global commands' and 'Global variables' - below are short-hand for commands placed in the 'global' context.
* 'Global commands' and 'Global variables' - below are short-hand for commands placed in the 'global' context.
* 'Default command' - is run by default if its context is addressed by name or is the current context. Examples:
* 'Default command' - is run by default if its context is addressed by name or is the current context. Examples:
Line 24: Line 22:
* Associations - Module or context associations and features
* Associations - Module or context associations and features
* Service - here refers to messaging service. Which may be internal, local or through a network for send or receive.
* Service - here refers to messaging service. Which may be internal, local or through a network for send or receive.
== 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 ===