This wiki is a copy of the original Oblivion CS wiki created and maintained by the UESP.net. See CSwiki:Copy Notice for more info.

Difference between revisions of "DisableKey"

Jump to navigation Jump to search
379 bytes added ,  23:25, 14 August 2006
disabled keys and other functions
imported>DragoonWraith
m (→‎Examples: multiple typos)
imported>DragoonWraith
(disabled keys and other functions)
Line 17: Line 17:


*DirectX scancodes are typically in hexadecimal, but this function takes decimal values.
*DirectX scancodes are typically in hexadecimal, but this function takes decimal values.
* As well as the normal DX scancodes, you can use the numbers 256 to 263 to stop mouse button presses, and also 264 and 265 for mouse wheel movement.
*As well as the normal DX scancodes, you can use the numbers 256 to 263 to stop mouse button presses, and also 264 and 265 for mouse wheel movement.
*[[IsKeyPressed]] will still work with Disabled keys, but [[IsKeyPressed2]] will not, unless [[TapKey]], which does work, was used the previous frame. [[HoldKey]], [[HammerKey]], and [[AHammerKey]] will not function while the key is disabled, but will begin to function immediately after [[EnableKey]] is used if they are not turned off by their respective functions before then.


{{DirectX Scancodes}}
{{DirectX Scancodes}}

Navigation menu