Difference between revisions of "RestoreHotkeys"
Jump to navigation
Jump to search
CO distinction
imported>Pintocat |
imported>DoctaSax (CO distinction) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
|origin = LU | |origin = LU | ||
|summary = Restores the player's hotkeys from memory or from an array_var. JIP NVSE Plugin v40 merged Lutana NVSE plugin v19. '''As of JIPv40, This function's syntax was changed from Lutana v19.''' | |summary = Restores the player's hotkeys from memory or from an array_var. | ||
JIP NVSE Plugin v40 merged Lutana NVSE plugin v19. '''As of JIPv40, This function's syntax was changed from Lutana v19, requiring that you pass the arrays via their IDs (set to integers) if you use the script compiler override (CO).''' | |||
|name = RestoreHotkeys | |name = RestoreHotkeys | ||
|returnType = void | |returnType = void | ||
Line 7: | Line 8: | ||
{{FunctionArgument | {{FunctionArgument | ||
|Name = hotKeysArrayID | |Name = hotKeysArrayID | ||
|Type = | |Type = array | ||
}} | }} | ||
}} | }} | ||
== Example == | == Example == | ||
array_var arrHotkeys | |||
RestoreHotkeys arrHotkeys | |||
== Example with CO == | |||
array_var arrHotKeys | array_var arrHotKeys | ||
int iArrHotKeysID | int iArrHotKeysID |