Difference between revisions of "ScriptHook: UI"

From Nomad DB
Line 1: Line 1:
 
[[WD2 ScriptHook|ScriptHook]] aims to implement menu & UI functionality into the game. Menus and UI can be created and modified using Lua. Currently, this functionality is very limited, but we will extend it in the future.
 
[[WD2 ScriptHook|ScriptHook]] aims to implement menu & UI functionality into the game. Menus and UI can be created and modified using Lua. Currently, this functionality is very limited, but we will extend it in the future.
  
== Simple Menu ==
+
==Simple Menu==
 
[[File:SimpleMenu trainer.png|175px|thumb|SimpleMenu from Trainer]]
 
[[File:SimpleMenu trainer.png|175px|thumb|SimpleMenu from Trainer]]
 
Our primary focus for the initial release was to provide a [[WD2 ScriptHook: Trainer|Trainer menu]] as a feature for players and as a starting point for developers. The Trainer utilizes all ''SimpleMenu'' functions that are available. The name comes from its (currently) limited functionality and aims to provide very basic, but useful menu functionality.
 
Our primary focus for the initial release was to provide a [[WD2 ScriptHook: Trainer|Trainer menu]] as a feature for players and as a starting point for developers. The Trainer utilizes all ''SimpleMenu'' functions that are available. The name comes from its (currently) limited functionality and aims to provide very basic, but useful menu functionality.
Line 7: Line 7:
 
'''Read more about [[UI.SimpleMenu|SimpleMenu]].'''
 
'''Read more about [[UI.SimpleMenu|SimpleMenu]].'''
  
== Related Pages ==
+
 
* [[WD2 ScriptHook: Script]]
+
==Simple Text Input==
 +
[[File:UISimpleTextInput.png|thumb]]
 +
A very simple and convenient way to challenge text input from users is the *SimpleTextInput* feature. This dialog allows users to enter text, which can be handled in Lua. The title and help text are customizable.
 +
 
 +
'''Read more about [[UI.SimpleTextInput|SimpleTextInput]].'''
 +
 
 +
 
 +
==Related Pages==
 +
 
 +
*[[WD2 ScriptHook: Script]]
  
 
[[Category:WD2 ScriptHook]]
 
[[Category:WD2 ScriptHook]]

Revision as of 21:05, 2 August 2020

ScriptHook aims to implement menu & UI functionality into the game. Menus and UI can be created and modified using Lua. Currently, this functionality is very limited, but we will extend it in the future.

Simple Menu

SimpleMenu from Trainer

Our primary focus for the initial release was to provide a Trainer menu as a feature for players and as a starting point for developers. The Trainer utilizes all SimpleMenu functions that are available. The name comes from its (currently) limited functionality and aims to provide very basic, but useful menu functionality.

Read more about SimpleMenu.


Simple Text Input

UISimpleTextInput.png

A very simple and convenient way to challenge text input from users is the *SimpleTextInput* feature. This dialog allows users to enter text, which can be handled in Lua. The title and help text are customizable.

Read more about SimpleTextInput.


Related Pages