Difference between revisions of "RestoreHotkeys"
Jump to navigation
Jump to search
no edit summary
imported>Pintocat |
imported>Pintocat |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
|origin = LU | |origin = LU | ||
|summary = Restores the player's hotkeys from memory or from an array_var. | |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.''' Rather than passing an array_var as parameter, instead the int ID of the array_var is passed. | ||
|name = RestoreHotkeys | |name = RestoreHotkeys | ||
|returnType = void | |returnType = void | ||
|arguments = | |arguments = | ||
{{FunctionArgument | {{FunctionArgument | ||
|Name = | |Name = hotKeysArrayID | ||
|Type = | |Type = int | ||
}} | }} | ||
}} | }} | ||
== Example == | |||
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)]] |