Lore archive · Warcraft Wiki, 2023 dump
API SetConsoleKey
Last wiki revision 2022-07-21
Sets the console key (normally ~). SetConsoleKey(key)
- key: - The character to bind to opening the console overlay, or to disable the console binding.
- The console is only accessible when WoW is started with the "-console" parameter. This function does nothing if the parameter wasn't used.
- The console key is not saved by the WoW client, and will revert to the default (backtick) key when WoW is restarted.
- Unlike the function, you can only provide the values of keys that represent standard ASCII characters; no modifiers are allowed. For instance, won't work, but will. In addition, non-alphabetic keys that require modifiers to access, such as using, cannot be used.
- The console key overrides all other key bindings in WoW, regardless of context. This means that if you set it to, you'll be unable to type the F character in chat until you restart WoW.
Source
https://warcraft.wiki.gg/wiki/API_SetConsoleKey · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.