Difference between revisions of "RegisterForControl - ScriptObject"

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search
imported>Kyllagdrgn
imported>Qazaaq
(Removed input script)
Line 9: Line 9:


== Syntax ==
== Syntax ==
<source lang="papyrus">
<source lang="papyrus">Function RegisterForControl(string control) Native</source>
Function RegisterForControl(string control) Native
</source>


== Parameters ==
== Parameters ==
*Control: The Control to listen for.
*control: The Control to listen for.


== Return Value ==
== Return Value ==
Line 29: Line 27:
== See Also ==
== See Also ==
*[[ScriptObject Script]]
*[[ScriptObject Script]]
*[[Input Script]]
*[[UnregisterForControl - ScriptObject]]
*[[UnregisterForControl - ScriptObject]]
*[[OnControlDown - ScriptObject]]
*[[OnControlDown - ScriptObject]]
*[[OnControlUp - ScriptObject]]
*[[OnControlUp - ScriptObject]]

Revision as of 15:19, 6 April 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