Jump to content

Set HotKeys for Favorites Menu


Spinner385

Recommended Posts

Not sure, but SKSE adds some input functions (input.psc) that don't seem to be documented on the wiki. These might be useful to you.

 

Scriptname Input Hidden

; returns whether a key is pressed
bool Function IsKeyPressed(Int dxKeycode) global native

; taps the specified key
Function TapKey(Int dxKeycode) global native

; holds down the specified key until released
Function HoldKey(Int dxKeycode) global native

; releases the specified key
Function ReleaseKey(Int dxKeycode) global native

; how many keys are pressed
int Function GetNumKeysPressed() global native

; for walking over the pressed keys
int Function GetNthKeyPressed(int n) global native

 

Deathless Aphrodite has a mod that uses these functions. IIRC it is call "Deathless Sprint and Jump" or something like that.

Edited by steve40
Link to comment
Share on other sites

Thnx for the advice as always =]. I'm actually working on a hotkey script right now. I was asking this about my potion script. If i can figure out a way to store their hotkeyed favorites and reset them after it evaluates inventory it will be finished. Besides tweaking/aesthetics that is.
Link to comment
Share on other sites

  • Recently Browsing   0 members

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