Jump to content

[LE] SkyUI hotkeys: event for when it is pressed?


Recommended Posts

Hello,

 

I can't seem to figure out how to execute code when a hotkey made in SkyUI is pressed.

 

I have the MCM interface setup, so the key DXScanCode is stored on the MCM script - but how do I know when the player presses it? What kind of event is sent to what?

I've been following this guide:

https://github.com/schlangster/skyui/wiki/MCM-Option-Types#keymap-option

 

But it only has the

OnOptionKeyMapChange

event, which is for when the key is changed in the MCM. What is the event for when the set key is pressed in game?

 

Thanks

EDIT: Never mind, found it :)

https://www.creationkit.com/index.php?title=OnKeyDown_-_Form

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...