Difference between revisions of "MessageBox Tutorial"

Jump to navigation Jump to search
196 bytes added ,  02:37, 14 June 2007
no edit summary
imported>Haama
imported>Haama
Line 270: Line 270:
       Messagebox "How much food would you like to donate?" "Options"
       Messagebox "How much food would you like to donate?" "Options"
                                                           "More Options"
                                                           "More Options"
                                                          ...
                                                          "Cancel"
       Set Choosing to 3
       Set Choosing to 3
       Set Choice to GetButtonPressed
       Set Choice to GetButtonPressed
Line 279: Line 281:
     Elseif (Choice == 0)  ;Options
     Elseif (Choice == 0)  ;Options
    Elseif (Choice == 9)  ;Cancel
      Set Choosing to 0
     Endif
     Endif
     Return
     Return
Line 309: Line 313:
<br>Running menus in both GameMode and MenuMode when your script is too large
<br>Running menus in both GameMode and MenuMode when your script is too large
<br>Ensuring your menus are seen
<br>Ensuring your menus are seen
<br>Allowing the player a variable to any number
<br>Allowing the player to set a variable to any number
<br>[[User:Haama|Haama]] 02:08, 14 June 2007 (EDT)
<br>[[User:Haama|Haama]] 02:08, 14 June 2007 (EDT)
[[Category: Scripting Tutorials]]
[[Category: Scripting Tutorials]]
Anonymous user

Navigation menu