Background for Skyrim SE
Member of the Form script
voidfunctionRegisterForControl(stringcontrol)Native

Description

Wiki Description

Registers the given Control for Form.OnControlDown(...) and Form.OnControlUp(...) events.

Documentation Comment

Registers for OnControlDown and OnControlUp events for the given control.
For a list of valid controls, see Input.psc.


Caveats

CK Wiki - Notes

None


Parameters

  1. stringcontrol

    CK Wiki Description

    The Control to listen for.


Examples

RegisterForControl("Forward")

Auto-Generated Example

string myString__control

myForm__toCallFunctionOn.RegisterForControl(myString__control)

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.