Difference between revisions of "RegisterForControl - 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 Registers the given Control...")
 
imported>Kyllagdrgn
Line 6: Line 6:
Minimum required F4SE Version: 0.3.0
Minimum required F4SE Version: 0.3.0


Registers the given Control for [[OnControlDown - Form|OnControlDown]] and [[OnControlUp - Form|OnControlUp]] events.
Registers the given Control for [[OnControlDown - ScriptObject|OnControlDown]] and [[OnControlUp - ScriptObject|OnControlUp]] events.


== Syntax ==
== Syntax ==
Line 30: Line 30:
*[[ScriptObject Script]]
*[[ScriptObject Script]]
*[[Input Script]]
*[[Input Script]]
*[[UnregisterForControl - Form]]
*[[UnregisterForControl - ScriptObject]]
*[[OnControlDown - Form]]
*[[OnControlDown - ScriptObject]]
*[[OnControlUp - Form]]
*[[OnControlUp - ScriptObject]]

Revision as of 21:14, 17 March 2017

F4SE Member of: ScriptObject Script

Minimum required F4SE Version: 0.3.0

Registers the given Control for OnControlDown and OnControlUp events.

Syntax

Function RegisterForControl(string control) Native

Parameters

  • Control: The Control to listen for.

Return Value

None

Examples

RegisterForControl("Forward")

Notes

None

See Also