Difference between revisions of "DisableKey"

Jump to navigation Jump to search
64 bytes removed ,  05:53, 15 September 2007
no edit summary
imported>WereWolf
imported>WereWolf
__NOTOC__
 
A command for [[:Category:Oblivion Script Extender|Oblivion Script Extender]]
 
'''Syntax:'''
(nothing) DisableKey keydxScanCode:long
 
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: OBSE Functions]]
[[Category: OBSE Input Functions]]-->
 
[[Category: Functions]]
Anonymous user

Navigation menu