Engine:Console commands: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
Tag: Manual revert
Line 12: Line 12:
==== Data module ====
==== Data module ====
* In context by default
* In context by default
* Default command is 'varedit'
* Default command is 'varedit' if in context
: [[MACRO var|varedit]] - (none), / - Prints or sets variable, if variable name and not other command
: [[MACRO var|var]] - var, /var - Creates a variable. If already exists, then does not change value.
: [[MACRO var|set]] - set, /set - Creates a variable. If already exists, then does not change value
: [[MACRO var|var]] - /var - Creates a variable. If already exists, then does not change value.
: [[MACRO var|var]] - /var - Creates a variable. If already exists, then does not change value.
: [[MACRO var|var]] - /var - Creates a variable. If already exists, then does not change value.

Revision as of 20:32, 12 October 2023

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 AddOns.

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 modules. 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.

Main

Data module

  • In context by default
  • Default command is 'varedit' if in context
varedit - (none), / - Prints or sets variable, if variable name and not other command
var - var, /var - Creates a variable. If already exists, then does not change value.
set - set, /set - Creates a variable. If already exists, then does not change value
var - /var - Creates a variable. If already exists, then does not change value.
var - /var - Creates a variable. If already exists, then does not change value.