Difference between revisions of "Options Menu"

Jump to navigation Jump to search
1 byte added ,  22:14, 5 July 2012
m
→‎Menu with sub-options: No changes made. Just want to ask why you disable/enable menu access in OnRead in this example. You haven't clarified in your example why you did it this way.
imported>Threedee
m (→‎Multilevel, looping menu: the "!" should be outside the brackets, otherwise you are applying it to the int rather than to the bool. I presume you meant to apply it to the bool, yes? Otherwise casting the value as a bool is redundant.)
imported>Threedee
m (→‎Menu with sub-options: No changes made. Just want to ask why you disable/enable menu access in OnRead in this example. You haven't clarified in your example why you did it this way.)
Line 36: Line 36:


Event OnRead()
Event OnRead()
Game.DisablePlayerControls(False, False, False, False, False, True) ; Momentarily disable other menus
Game.DisablePlayerControls(False, False, False, False, False, True) ; Momentarily disable other menus  
Game.EnablePlayerControls(False, False, False, False, False, True) ; Undo DisablePlayerControls
Game.EnablePlayerControls(False, False, False, False, False, True) ; Undo DisablePlayerControls
Menu()
Menu()
Anonymous user

Navigation menu