RestoreHotkeys

From the Fallout3 GECK Wiki
Revision as of 15:48, 21 March 2017 by imported>Pintocat
Jump to navigation Jump to search
< [[::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. Rather than passing an array_var as parameter, instead the int ID of the array_var is passed.

Syntax

[help]
RestoreHotkeys hotKeysArrayID:int


Example

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

Old Syntax (Lutana standalone)

RestoreHotkeys arrHotKeys

See Also

SetHotkeyItem

GetHotkeyItem

ClearHotKey

SetHotkey

SaveHotkeys

ClearAllHotkeys