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 - an engine command addressable through script
* Command - a command addressable through script
* Variable - an engine variable addressable through script
* Variable - a variable addressable through script
* Alias - an alias or macro which is an string of script
* Alias - an alias or macro which is an 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