-
Notifications
You must be signed in to change notification settings - Fork 25
Working with dropdowns
Jeppe Zapp edited this page May 13, 2014
·
5 revisions
- If you haven't set up an
OGRootandOGPageyet, do it via the OpenGUI menu. - With the same menu under "Widgets", click "DropDown".
- In the inspector for the
OGDropDownobject, locate the "submenu" array. - The "tickable", and "isTicked" variables determine whether the submenu item should use a defined toggle icon to indicate whether an option is "on" or "off".
- Every submenu item has a "nestedMenu" array to allow for one more level of menus. These menu items have a "tickOverrides" flag, which determines whether or not to untick every other tickable items when it is ticked.
- Menu items also have a "message" variable intended for sending to the "target" variable of the
OGDropDownobject. - Setting this up via scripting would be quite tedious, so I'd recommend sticking with the inspector for this one.