Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
No edit summary
No edit summary
Line 9: Line 9:
 
Using [[API SaveBindings|SaveBindings()]] does not appear to permanently save this particular binding to disk.
 
Using [[API SaveBindings|SaveBindings()]] does not appear to permanently save this particular binding to disk.
   
  +
'''NB''' as of [[Patch_0.11_(Release_Notes)|Patch 0.11]], the console is no more accessible.
 
----
 
----
 
{{WoW API}}
 
{{WoW API}}

Revision as of 15:59, 3 October 2006

Template:Stub/api

Calling this function with no parameters appears to unbind the console key (normally the "`" key) for the duration of the WoW session.

Calling this function with a parameter indicating the a new keybinding to set the Console Key to will rebind the console keybinding for the duration of the WoW session; however, unlike the analogous argument for SetBinding(), it appears that you can only provide the values of keys that represent standard ASCII characters--no modifiers or other special keys are allowed. For instance, SetConsoleKey("CTRL-F") won't work, but SetConsoleKey("F") will.

However, it should be noted that the console key is a very special keybinding in WoW; whenever the bound key is pressed, regardless of context or mode, the console window will appear (or disappear, if it's already visible). This means that setting the console key to "F" will prevent you from ever generating the 'F' character again, even if it's in a chat window or within the console itself.

Using SaveBindings() does not appear to permanently save this particular binding to disk.

NB as of Patch 0.11, the console is no more accessible.


Template:WoW API