Difference between revisions of "Options Menu"

Jump to navigation Jump to search
1 byte removed ,  19:40, 12 April 2012
m
imported>JustinOther
m (Clarified...)
imported>JustinOther
Line 80: Line 80:


EndFunction</source>
EndFunction</source>
*To make a multilevel, looping menu with thirty buttons that will not close until a "Done" button is pressed using the above method but with an altered Menu() function. Note that you can jump to a given message by specifying the aiMessage argument when calling the function. Sub-options as described in the previous example can be added to the below in the same manner. Theoretically, any number of options can be added with the below structure.
*To make a multilevel, looping menu with thirty buttons that will not close until a "Done" button is pressed, use the above method but with an altered Menu() function. Note that you can jump to a given message by specifying the aiMessage argument when calling the function. Sub-options as described in the previous example can be added to the below in the same manner. Theoretically, any number of options can be added with the below structure.
<source lang="papyrus">
<source lang="papyrus">
Function Menu(Int aiMessage = 0, Int aiButton = 0, Bool abMenu = True)
Function Menu(Int aiMessage = 0, Int aiButton = 0, Bool abMenu = True)
Anonymous user

Navigation menu