Difference between revisions of "Options Menu"
Jump to navigation
Jump to search
m
→Multilevel, looping menu: Global toggling
imported>JustinOther |
imported>JustinOther m (→Multilevel, looping menu: Global toggling) |
||
Line 76: | Line 76: | ||
Armor Property MenuARMO Auto ; Playable apparel item | Armor Property MenuARMO Auto ; Playable apparel item | ||
Bool Property bFeatureEnabled Auto Conditional ; Toggling of this demonstrated below. | Bool Property bFeatureEnabled Auto Conditional ; Toggling of this demonstrated below. | ||
GlobalVariable Property DragonsEnabled Auto ; | |||
Message Property OptionsMenu00MESG Auto | Message Property OptionsMenu00MESG Auto | ||
Message Property OptionsMenu01MESG Auto | Message Property OptionsMenu01MESG Auto | ||
Line 100: | Line 101: | ||
ElseIf aiButton == 1 ; This button has a GetVMScriptVariable condition so it only shows if bFeatureEnabled == False | ElseIf aiButton == 1 ; This button has a GetVMScriptVariable condition so it only shows if bFeatureEnabled == False | ||
bFeatureEnabled = True | bFeatureEnabled = True | ||
ElseIf aiButton == 2 | ElseIf aiButton == 2 || aiButton == 3 ; Toggle DragonsEnabled. Buttons have opposite conditions. | ||
DragonsEnabled.SetValue((!DragonsEnabled.GetValue() As Bool) As Int) | |||
ElseIf aiButton == 4 | ElseIf aiButton == 4 | ||
ElseIf aiButton == 5 | ElseIf aiButton == 5 |