RegisterForKey - ScriptObject
Revision as of 20:58, 17 March 2017 by imported>Kyllagdrgn (Created page with "Category:Scripting Category:Papyrus '''F4SE Member of:''' ScriptObject Script Minimum required F4SE Version: 0.3.0 Registers the given Input_Script#DXScanCodes...")
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