Difference between revisions of "EnableKey"
no edit summary
imported>WereWolf |
imported>WereWolf |
||
Line 1: | Line 1: | ||
A command for [[:Category:Oblivion Script Extender|Oblivion Script Extender]] | A command for [[:Category:Oblivion Script Extender|Oblivion Script Extender]] | ||
'''Syntax:''' | '''Syntax:''' | ||
EnableKey | (nothing) EnableKey dxScanCode:long | ||
Turns off [[DisableKey]]. | Turns off [[DisableKey]]. | ||
==Examples== | ==Examples== | ||
EnableKey 20 ;T | EnableKey 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 22: | Line 18: | ||
==See Also== | ==See Also== | ||
*[[DisableKey]] | *[[DisableKey]] | ||
[[Category: Functions]] | [[Category: Functions]] |