Showing a menu

From QuestWiki
Jump to: navigation, search

To display a menu, use the show menu script command.

First, you need to create a string list of options - see Using Lists. Then call the "show menu" command to display the list to the user and run a nested script after the user has made their selection.


Here is an example how to create a menu: First fill a new list with the entries 'female' and 'male'. If the player chooses an entry from the menu the variables playername and gender are set.

Menu.jpg

You can find another example here: Using Lists

Personal tools
Namespaces
Variants
Actions
Navigation
Quest Documentation
Toolbox