Difference between revisions of "Options Menu"
Jump to navigation
Jump to search
m
→Examples
imported>JustinOther m (Clarified...) |
imported>JustinOther m (→Examples) |
||
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 | *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) |