Difference between revisions of "Message"

385 bytes added ,  20:05, 18 November 2011
Added Icon description
imported>BonzoFSP
imported>Henning
(Added Icon description)
 
(4 intermediate revisions by 2 users not shown)
Line 2: Line 2:
[[Image:Message Properties.png|200px|thumb|right|The Message Properties]]A Message can be displayed with the [[ShowMessage]] function.
[[Image:Message Properties.png|200px|thumb|right|The Message Properties]]A Message can be displayed with the [[ShowMessage]] function.
==Flags==
==Flags==
*'''Message Box:''' When checked the message is displayed as in a box instead of at the top of the screen.
*'''Message Box:''' When checked the message is displayed as a dialog box that pauses the game and waits for a response.  Otherwise the message will be briefly displayed at the top left of the screen.
*'''Auto-display:'''
*'''Auto-display:'''


==Fields==
==Fields==
*'''ID:''' The ID of the message.
*'''ID:''' The ID of the message.
*'''Icon:'''  
*'''Icon:''' The image that appears with a non-dialog box message. When "NONE" is selected, glow_message_vaultboy_neutral is displayed as default.
*'''Title:''' The title of the message.
*'''Title:''' The title of the message.
*'''Display Time:''' The number of seconds the message will be displayed.  Only applicable when the message box option is unchecked.
*'''Display Time:''' The number of seconds the message will be displayed.  Only applicable when the message box option is unchecked.
*'''Message Text:''' The text displayed on the message.
*'''Message Text:''' The text displayed on the message. Messages greater than 1023 characters will cause a Crash To Desktop (CTD). You'll need to separate longer messages across multiple Message objects if needed.
*'''Menu Buttons:''' A list of buttons on the message form. Right click to create a new one.
*'''Menu Buttons:''' A list of buttons on the message form. Right click to create a new one.
*'''Item Text:''' The text on the selected button.
*'''Item Text:''' The text on the selected button.
Anonymous user