Jump to content

Matthest

Members
  • Posts

    1
  • Joined

  • Last visited

Nexus Mods Profile

About Matthest

Matthest's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Week One Done
  • One Month Later
  • One Year In
  • Conversation Starter

Recent Badges

0

Reputation

  1. Hey everyone, I'm trying to improve how SkyUI uses the GamePad, specifically for favorite groups. SkyUI currently doesn't allow you to bind modifier keys when using the GamePad, and as a result, you're essentially limited to 4 favorite groups. I want to make it so that you can use all 8 favorite groups - the first 4 by just hitting the d-pad any direction, and the second 4 by holding the left-bumper + the d-pad. Here's what I've got so far: Scriptname SKI_HotkeyTest3 extends SKI_QuestBase ski_favoritesmanager Property SkyUI Auto Int[] iHotkey Int Property iModifierKey = 54 Auto Event OnInit() RegisterForKey(157) EndEvent Event OnKeyDown(Int aiKey) If(Input.IsKeyPressed(iModifierKey)) SkyUI.GroupUse(1) Debug.MessageBox(aiKey) EndIf EndEvent Everything works with the MessageBox popping up... but it's still not switching the groups. I've set up SkyUI as the plugin's master and everything. Any ideas?
×
×
  • Create New...