Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Engine
Talk
English
Views
Read
Edit
History
More
Search
Navigation
Home
Random page
Help using wiki
Editions
for WoW
for WildStar
for Solar2D
Documentation
for WoW
for WildStar
Reference
WoW
⦁ FrameXML
⦁ AddOns
⦁ API
⦁ WoW Lua
WildStar
⦁ AddOns
⦁ API
⦁ WildStar Lua
Engine
Tools
What links here
Related changes
Special pages
Page information
Site
Recent Changes
Editing
Engine:Console commands
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Data module === * In context by default * Default command is 'varedit' if in context Global commands: : [[CCMD varedit|varedit]] - (none), / - Sets an existing variable. If does not exist then fails. : [[CCMD var|var]] - var, /var - Creates a new variable only. If already exists, then does not change value. : [[CCMD set|set]] - set, /set - Creates or sets a variable. Works whether already exists or not. : [[CCMD alias|alias]] - alias, /alias - New named script. Will change existing alias if already created. : [[CCMD bind|bind]] - bind, /bind - Key to script. Map a key to a script block. : [[CCMD echo|echo]] - echo, /echo - Write text to log only. Print text to current console but not the file. : [[CCMD print|print]] - print, /print - Write text to log and file. Print text to current console and to file. : [[CCMD context|context]] - context, /context - Change context. Change current console context to another known context. : [[CCMD run|run]] - run, /run - Load and run script file. Run a named script file. Name must include extension. Global vars: : [[CVAR lib_path|lib_path]] - './lib/' - Path for native 'world' libraries. : [[CVAR base_path|base_path]] - './data/' - Path for content and assets. : [[CVAR module|module]] - 'game' - Base name for 'world' module, without platform postfix. : [[CVAR GameDll|GameDll]] - (none) - Full path for 'world' module, './lib/gamex86.dll'. : [[CVAR s_use_ai|s_use_ai]] - '1.0' - If world 'AI' processing is enabled. : [[CVAR map|map]] - 'maps/base1.bsp' - Full path for default content module. : [[CVAR startup|startup]] - (none) - Full path of initial startup script. Assignments: : Explicit context name is 'global' : Default reachable contexts: 'client' : Optional reachable contexts: 'lua' : Default log assignment is 'log' : Initial console assignment is 'console' ==== Lua context ==== Free standing Lua context in the Data module as a script interface to the main Lua runtime. * Default command is 'lua_edit' if in context Global commands: : none Global vars: : none Bindings: : none Assignments: : Explicit context name is 'lua' reachable through 'global' : Default reachable contexts: none. See 'exit' command : Optional reachable contexts: none : Default self-reference context: 'lua' : Does not inherit 'global' context Lua context commands: : [[CCMD lua.lua_edit|lua_edit]] - (none), / - Runs a Lua command in the main Lua runtime as though were in a Lua console : [[CCMD lua.run|run]] - lua run - Runs a Lua command in the Lua runtime. : [[CCMD lua.block|block]] - lua run - Runs a Lua command block in the Lua runtime : [[CCMD lua.exit|exit]] - lua exit - Immediately switches current context to 'global' Lua context variables: : none Lua context aliases: : none Lua functions placed in a Lua runtime by the lua context: : [[CLUA script|script]] - Runs an engine script from the Lua runtime. : [[CLUA require|require]] - Loads and runs lua text file asset from engine data.
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)