Difference between revisions of "Options Menu"

Jump to navigation Jump to search
172 bytes added ,  08:40, 5 July 2012
m
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.
ElseIf aiButton == 3
DragonsEnabled.SetValue((!DragonsEnabled.GetValue() As Bool) As Int)
ElseIf aiButton == 4
ElseIf aiButton == 4
ElseIf aiButton == 5
ElseIf aiButton == 5
Anonymous user

Navigation menu