Difference between revisions of "Messagebox Tutorial/GameMode And MenuMode"

imported>Haama
(→‎The script: Variable-loaded method)
imported>Haama
(→‎A few more notes: Extra exits)
Line 80: Line 80:


For each menu, you will need to set the ExitButton. This is important so there won't be a menu displayed from the GameMode block after the player has decided to exit. Set it to -2 if there aren't any options that will let the player exit the menu.
For each menu, you will need to set the ExitButton. This is important so there won't be a menu displayed from the GameMode block after the player has decided to exit. Set it to -2 if there aren't any options that will let the player exit the menu.
If you have more than one button that will exit the menu, you will need to add an extra ExitButton variable. Use it the same as the original.


[[Category: Scripting Tutorials]]
[[Category: Scripting Tutorials]]
Anonymous user