Difference between revisions of "RegisterForKey - ScriptObject"
Jump to navigation
Jump to search
imported>Kyllagdrgn |
imported>Qazaaq (Added to the F4SE category) |
||
Line 1: | Line 1: | ||
[[Category:Scripting]] | [[Category:Scripting]] | ||
[[Category:Papyrus]] | [[Category:Papyrus]] | ||
[[Category:F4SE]] | |||
'''F4SE Member of:''' [[ScriptObject Script]] | '''F4SE Member of:''' [[ScriptObject Script]] | ||
Revision as of 08:02, 6 April 2017
F4SE Member of: ScriptObject Script
Minimum required F4SE Version: 0.3.0
Registers the given DXScanCode for OnKeyDown and OnKeyUp events. (This function requires F4SE)
Syntax
Function RegisterForKey(Int Key) Native
Parameters
- KeyCode: The DXScanCode of the key to listen for.
Return Value
NONE
Examples
RegisterForKey(160) ; L-Shift