RegisterForControl - ScriptObject

From the Fallout4 CreationKit Wiki
Revision as of 18:34, 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.

Registers the given Control for OnControlDown and OnControlUp events.

Syntax[edit | edit source]

Function RegisterForControl(string control) Native

Parameters[edit | edit source]

  • control: The Control to listen for.

Return Value[edit | edit source]

None

Examples[edit | edit source]

RegisterForControl("Forward")

Notes[edit | edit source]

None

See Also[edit | edit source]