UnregisterForKey - ScriptObject

From the Fallout4 CreationKit Wiki
Revision as of 18:36, 21 January 2018 by imported>Qazaaq (added required f4se version)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

F4SE Member of: ScriptObject Script
Requires F4SE version 0.3.0 or higher.

Unregisters the given Scan Code for OnKeyDown and OnKeyUp events after prior registration via RegisterForKey.

Syntax

Function UnregisterForKey(int keyCode) Native

Parameters

  • keyCode: The Scan Code of the key to stop listening for.

Return Value

None

Examples

UnregisterForKey(160) ; L-Shift

Notes

NONE

See Also