Difference between revisions of "RestoreHotkeys"
Jump to navigation
Jump to search
imported>Gribbleshnibit8 |
imported>DoctaSax (CO distinction) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
|origin = LU | |origin = LU | ||
|summary = Restores the player's hotkeys | |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 | |||
|arguments = | |||
{{FunctionArgument | |||
|Name = hotKeysArrayID | |||
|Type = array | |||
}} | |||
}} | }} | ||
== Example == | |||
array_var arrHotkeys | |||
RestoreHotkeys arrHotkeys | |||
== Example with CO == | |||
array_var arrHotKeys | |||
int iArrHotKeysID | |||
... | |||
set iArrHotKeysID to arrHotKeys | |||
RestoreHotkeys iArrHotKeysID | |||
== Old Syntax (Lutana standalone) == | |||
RestoreHotkeys arrHotKeys | |||
==See Also== | ==See Also== | ||
[[Category:Functions_(Lutana)]] | [[Category:Functions_(Lutana)]] | ||
[[Category:Hotkey_Functions_(Lutana)]] | |||
[[SetHotkeyItem]] | |||
[[GetHotkeyItem]] | |||
[[ClearHotKey]] | |||
[[SetHotkey]] | |||
[[SaveHotkeys]] | |||
[[ClearAllHotkeys]] |
Latest revision as of 11:41, 27 March 2017
< [[::Category:Functions|Category:Functions]]
A function added by the Lutana NVSE plugin.
Description
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).
Syntax
RestoreHotkeys hotKeysArrayID:array
Example
array_var arrHotkeys RestoreHotkeys arrHotkeys
Example with CO
array_var arrHotKeys int iArrHotKeysID ... set iArrHotKeysID to arrHotKeys RestoreHotkeys iArrHotKeysID
Old Syntax (Lutana standalone)
RestoreHotkeys arrHotKeys