Engine:Console commands: Difference between revisions

Line 20: Line 20:
** Will print 'fred', using the 'global' default 'varedit' command. 'bob' is not a command but an existing variable. <pre lang="lua">var bob fred; bob</pre>  
** Will print 'fred', using the 'global' default 'varedit' command. 'bob' is not a command but an existing variable. <pre lang="lua">var bob fred; bob</pre>  
** Will print 'james'. Where the default command finds the existing 'bob' valiable in the 'global' context, and assigns 'james'. <pre lang="lua">bob james; bob</pre>
** Will print 'james'. Where the default command finds the existing 'bob' valiable in the 'global' context, and assigns 'james'. <pre lang="lua">bob james; bob</pre>
* Command - a command addressable through script
* Command - here refers to an engine module command.
* Variable - a variable addressable through script
* Variable - here refers to an engine variable, similar to 'cvars' or config vars.
* Alias - an alias or macro which is an string of script
* Alias - an alias or macro which is a string of script.
* Binding - key bindings to the keyboard or mouse buttons, or from other real or virtual devices
* Binding - key bindings to the keyboard or mouse buttons, or from other real or virtual devices.
* Associations - Module or context associations and features.
* Associations - Module or context associations and features.
* Service - here refers to an engine messaging service. Which may be internal, local or through a network for send or receive.
* Service - here refers to an engine messaging service. Which may be internal, local or through a network for send or receive.