RestoreHotkeys

From GECK
Jump to: navigation, search


Function Deprecated
This function should no longer be used. This page has been left for historical documentation purposes only.

As of version 56.38 of JIP LN the plugin will now automatically remember and restore your hotkeys.



A function added by the Lutana NVSE plugin, now part of the JIP 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

[help]
RestoreHotkeys hotKeysArrayID:array 

Example

array_var arrHotkeys

RestoreHotkeys arrHotkeys

Example with Compiler Override

array_var arrHotKeys
int iArrHotKeysID
...
set iArrHotKeysID to arrHotKeys
RestoreHotkeys iArrHotKeysID

Old Syntax (Lutana standalone)

RestoreHotkeys arrHotKeys

See Also