UnregisterForKey - ScriptObject

From the Fallout4 CreationKit Wiki
Revision as of 21:14, 17 March 2017 by imported>Kyllagdrgn
Jump to navigation Jump to search

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