Difference between revisions of "ShowMessage"

300 bytes added ,  20:54, 16 January 2009
imported>Quetzilla
m (note goes under notes)
imported>JT
Line 10: Line 10:
* Message Type on the Message determines whether we are displaying a "message" (upper right corner, single line of text, doesn't interrupt the game) or a "message box" (center of the screen, game stops until the player presses one of the buttons).
* Message Type on the Message determines whether we are displaying a "message" (upper right corner, single line of text, doesn't interrupt the game) or a "message box" (center of the screen, game stops until the player presses one of the buttons).
* Variables can be inserted into the displayed text (see below). The message will fail to display if the wrong number of variables are passed into the ShowMessage call.
* Variables can be inserted into the displayed text (see below). The message will fail to display if the wrong number of variables are passed into the ShowMessage call.
* Variables cannot be inserted into a message box's buttons.
* If you attempt to provide a parameter to a ShowMessage function that uses no variables, it will give an error about requiring an integer duration.  This is an obsolete error message, as the delay is specified in the Message form itself.


=='''Formatting messages'''==
=='''Formatting messages'''==
Anonymous user