Difference between revisions of "DisableKey"

64 bytes removed ,  06:53, 15 September 2007
no edit summary
imported>WereWolf
imported>WereWolf
Line 1: Line 1:
__NOTOC__
A command for [[:Category:Oblivion Script Extender|Oblivion Script Extender]]
A command for [[:Category:Oblivion Script Extender|Oblivion Script Extender]]


'''Syntax:'''
'''Syntax:'''
  DisableKey key
  (nothing) DisableKey dxScanCode:long


Prevents the use a given button. Use [[EnableKey]] to turn it off.
Prevents the use a given button. Use [[EnableKey]] to turn it off.


==Examples==
==Examples==
  DisableKey 20 ;T
  DisableKey 20 ;T


Line 15: Line 12:


==Notes==
==Notes==
*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.
Line 23: Line 19:


==See Also==
==See Also==
*[[EnableKey]]
*[[EnableKey]]
<!--[[Category: OBSE Functions]]
[[Category: OBSE Input Functions]]-->


[[Category: Functions]]
[[Category: Functions]]
Anonymous user