Background for Skyrim SE
Member of the Input script
intfunctionGetNthKeyPressed(intn)NativeGlobal

Description

Wiki Description

For walking over the pressed keys. (This function requires SKSE)

Documentation Comment

for walking over the pressed keys


Caveats

CK Wiki - Notes

  • The index of the first key pressed is 0.
  • The function checks for any keys held down the moment the function is called. Source

Parameters

intn

CK Wiki Description

the Nth key pressed


Examples

Int iHotkey = Input.GetNthKeyPressed(0)

Auto-Generated Example

int myInt__n

int returnedValue = Input.GetNthKeyPressed(myInt__n)

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.