Difference between revisions of "Options Menu"

Jump to navigation Jump to search
52 bytes added ,  22:57, 5 July 2012
m
→‎Menu with sub-options: It ensures the MessageBox is not on top of the inventory menu and, more importantly, it prevents the BOOK form from opening normally.
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.)
imported>JustinOther
m (→‎Menu with sub-options: It ensures the MessageBox is not on top of the inventory menu and, more importantly, it prevents the BOOK form from opening normally.)
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) ; Ensure MessageBox is not on top of other menus & prevent book from opening normally.
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