Difference between revisions of "UI.SimpleMenu"
From Nomad DB
(Created page with "thumb|SimpleMenu from [[WD2 ScriptHook: Trainer|Trainer]] Creates a ''SimpleMenu'', an ingame menu which can be controlled by the arrow keys &...") |
|||
Line 28: | Line 28: | ||
==== Events ==== | ==== Events ==== | ||
* [[UISimpleMenu:OnUpdate]] | * [[UISimpleMenu:OnUpdate]] | ||
+ | |||
+ | == Controls == | ||
+ | {{WD2SH:MenuControls}} | ||
== Related Pages == | == Related Pages == |
Revision as of 22:29, 16 April 2020
Creates a SimpleMenu, an ingame menu which can be controlled by the arrow keys & numpad keys. The name comes from its (currently) limited functionality and aims to provide very basic, but useful menu functionality.
This function has to be called from inside a Script.
Contents
Syntax
UI.SimpleMenu()
- Returns UISimpleMenu instance
Methods
Menu State
Entries
Checkbox
Events
Controls
Up/Down Arrows | Navigation |
Numpad 8(Up), Numpad 9 (Down) | |
Enter | Confirm Option |
Numpad 5 | |
Delete Key, Numpad 0 | Return back to previous menu |
ESC | Close the menu |