Difference between revisions of "GetNthKeyPressed - Input"
Jump to navigation
Jump to search
imported>JustinOther m (N'th Δ Nth) |
imported>JustinOther m (Added required SKSE version) |
||
Line 3: | Line 3: | ||
[[Category:SKSE]] | [[Category:SKSE]] | ||
'''SKSE Member of:''' [[Input Script]] | '''SKSE Member of:''' [[Input Script]] | ||
{{SKSEFunction|1.05.07}} | |||
For walking over the pressed keys. (This function requires SKSE) | For walking over the pressed keys. (This function requires SKSE) |
Revision as of 16:05, 3 October 2012
SKSE Member of: Input Script
Minimum required SKSE Version: 1.05.07
For walking over the pressed keys. (This function requires SKSE)
Syntax
int Function GetNthKeyPressed(int n) global native
Parameters
- n : the Nth key pressed
Return Value
Returns the DXScanCode of the Nth key pressed as an Int. If no Nth key is pressed, -1 is returned.
Examples
Int iHotkey = Input.GetNthKeyPressed(0)
Notes
- The index of the first key pressed is 0.