Difference between revisions of "DisableKey"
Jump to navigation
Jump to search
no edit summary
imported>WereWolf |
imported>WereWolf |
||
|
A command for [[:Category:Oblivion Script Extender|Oblivion Script Extender]]
'''Syntax:'''
(nothing) DisableKey
Prevents the use a given button. Use [[EnableKey]] to turn it off.
==Examples==
DisableKey 20 ;T
==Notes==
*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.
==See Also==
*[[EnableKey]]
[[Category: Functions]]
| |||