ah, sorry for the confusion that I think we had and with the quest's game terms.
what you're refering to, in quest, it is known as an:
(object) list
~OR
(object) dictionary
these are just a "set~collection~group" of objects, which you can use to choose between or to attach an action~scripting onto it, such as through this coding stuff:
attaching scripting to the object(s):
"foreach" (
http://quest5.net/wiki/Foreach )
"for" (
http://quest5.net/wiki/For )
getting the object that you want from it (the objectlist or objectdictionary):
http://quest5.net/wiki/ObjectListItemhttp://quest5.net/wiki/ObjectDictionaryItemhow to make and use "lists" and "dictionaries":
http://quest5.net/wiki/Using_Listshttp://quest5.net/wiki/Using_Dictionaries-----------------------
if you instead actually want to create a quest "menu" (a popup box with choices to select from during game play), it's:
"show menu" (
http://quest5.net/wiki/Show_menu )
http://quest5.net/wiki/Showing_a_menuhttp://quest5.net/wiki/Character_Creation (this utilizes a menu, just another thing to look at, if you want to create~use a menu)
for a concept example of a quest "menu":
What is your race?
// (the popup box)
1. human
2. dwarf
3. elf
4. gnome
5. hobbit~halfling
// you pick (click on) one of them
------------------------
if you want a "menu" but without the popup box, instead being able to type in the number, you can do this:
(jayna can probably code this effect much better than I, but this is only what I can do with code, lol)
foreach (object_x, name_of_your_objectlist) {
-> msg ("1. " + object_x)
-> // (jayna can probably add~create code to increase the number for it, as I'm still working on trying to learn~understand it, lol)
-> // (so that it produces this effect:)
-> // msg ("2. " + object_x)
-> // msg ("3. " + object_x)
-> // etc etc etc
}
msg ("what is your choice?")
get input {
-> // you type in the number of the choices that you want
-> your_choice_x = result
-> // whatever script you want with the below code line:
-> // ObjectListItem (name_of_your_objectlist, your_choice_x)
-> // ~OR~
-> // ObjectDictionaryItem (name_of_your_objectdictionary, your_choice_x)
-> // ~OR~
-> // Do (ScriptDictionaryItem (name_of_your_scriptdictionary, your_choice_x))
-> // ~OR~
-> // Invoke (ScriptDictionaryItem (name_of_your_scriptdictionary, your_choice_x))