RegisterForKey - ScriptObject

From the Fallout4 CreationKit Wiki
Revision as of 08:02, 6 April 2017 by imported>Qazaaq (Added to the F4SE category)
Jump to navigation Jump to search

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

Return Value

NONE

Examples

RegisterForKey(160) ; L-Shift

Notes

See Also