Difference between revisions of "UnregisterForKey - ScriptObject"

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search
imported>Kyllagdrgn
(Created page with "Category:Scripting Category:Papyrus Category:F4SE '''F4SE Member of:''' ScriptObject Script Minimum required F4SE Version: 0.3.0 Unregisters the given Inpu...")
 
imported>Kyllagdrgn
Line 6: Line 6:
Minimum required F4SE Version: 0.3.0
Minimum required F4SE Version: 0.3.0


Unregisters the given [[Input_Script#DXScanCodes|DXScanCode]] for [[OnKeyDown - Form|OnKeyDown]] and [[OnKeyUp - Form|OnKeyUp]] events after prior registration via [[RegisterForKey - Form|RegisterForKey]]. (This function requires SKSE)
Unregisters the given [[Input_Script#DXScanCodes|DXScanCode]] for [[OnKeyDown - ScriptObject|OnKeyDown]] and [[OnKeyUp - ScriptObject|OnKeyUp]] events after prior registration via [[RegisterForKey - ScriptObject|RegisterForKey]]. (This function requires F4SE)


== Syntax ==
== Syntax ==
Line 25: Line 25:
*[[ScriptObject Script]]
*[[ScriptObject Script]]
*[[Input Script]]
*[[Input Script]]
*[[RegisterForKey - Form]]
*[[RegisterForKey - ScriptObject]]
*[[OnKeyDown - Form]]
*[[OnKeyDown - ScriptObject]]
*[[OnKeyUp - Form]]
*[[OnKeyUp - ScriptObject]]

Revision as of 21:14, 17 March 2017

F4SE Member of: ScriptObject Script

Minimum required F4SE Version: 0.3.0

Unregisters the given DXScanCode for OnKeyDown and OnKeyUp events after prior registration via RegisterForKey. (This function requires F4SE)

Syntax

Function UnregisterForKey(Int KeyCode) Native

Parameters

  • KeyCode: The DXScanCode of the key to stop listening for.

Return Value

NONE

Examples

UnregisterForKey(160) ; L-Shift

Notes

NONE

See Also