GetNthKeyPressed - Input

From the CreationKit Wiki
Revision as of 07:19, 21 August 2012 by imported>JustinOther (Created page with "Category:Scripting Category:Papyrus Category:SKSE '''SKSE Member of:''' Input Script For walking over the pressed keys. (This function requires SKSE) == Synt...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

SKSE Member of: Input Script

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

Syntax

int Function GetNthKeyPressed(int n) global native

Parameters

  • n : the N'th key pressed

Return Value

Returns the DXScanCode of the N'th key pressed as an Int. If no N'th key is pressed, -1 is returned.

Examples

Int iHotkey = Input.GetNthKeyPressed(0)

Notes

  • The index of the first key pressed is 0.

See Also