Difference between revisions of "MessageBox"
Jump to navigation
Jump to search
m
Stupid spelling mistake. Previous version specified number of buttons to 10.
imported>Stryfe |
imported>Stryfe m (Stupid spelling mistake. Previous version specified number of buttons to 10.) |
||
Line 5: | Line 5: | ||
MessageBox "This is a Message" | MessageBox "This is a Message" | ||
MessageBox "Shall I start to spin? GameHour = %.2f", GameHour, "OK", "No Way" | MessageBox "Shall I start to spin? GameHour = %.2f", GameHour, "OK", "No Way" | ||
MessageBox "How much gold do you have" "0" "100" "500" "1000" "5000" "10000" | MessageBox "How much gold do you have?" "0" "100" "500" "1000" "5000" "10000" | ||
Displays a message on the screen, which can be formatted, as well as user-definable buttons that the player can choose. The message box stops time and displays itself in the center of the screen until the player chooses an option. This option can be captured in a script by using the GetButtonPressed function. | Displays a message on the screen, which can be formatted, as well as user-definable buttons that the player can choose. The message box stops time and displays itself in the center of the screen until the player chooses an option. This option can be captured in a script by using the GetButtonPressed function. |