Engine:Console commands: Difference between revisions

Line 9: Line 9:
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.  
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 ===
=== Main ===
Commands offered by the core 'data' module. Data module
==== Data ====
* Default command is 'varedit', context is in module.
Commands offered by the core 'data' module. Default command is 'varedit' in context.
* [[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.