Message Box: Difference between revisions

From MZXWiki
Jump to navigation Jump to search
(Created page with "The '''Message Box''' is a dialog box that can be used to display text ==Commands== ''' [ " "''' '''SCROLLARROW COLOR (color)''' '''SCROLLBASE COLOR (color)''...")
 
(Mostly rewrite message box description.)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
The '''Message Box''' is a dialog box that can be used to display text
The [[Message Box]] is a [[built-in]] dialog box that displays text. It can be used either though [[Scroll|Scrolls and Signs]] or by programming custom message boxes with [[Robotic]]. Message boxes created through Robotic support more formatting options and can also display conditional options that can be selected by the player. Message boxes are a useful tool for quickly implementing conversations, shops, and branching dialogue trees.


==Commands==
==Commands==
'''[[test| [ " "]]'''
 
'''[[. "@string"]]''' - The message box will display the name of the calling robot as a title when it's drawn.
 
'''[[test|[ "string"]]'''
 
'''[[& "string"]]'''
 
'''[[% "string"]]'''
 
'''[[? "label" "string"]]'''
 
'''[[? "counter" "label" "string"]]'''


'''[[SCROLLARROW COLOR (color)]]'''
'''[[SCROLLARROW COLOR (color)]]'''
Line 13: Line 24:


'''[[SCROLLTITLE COLOR (color)]]'''
'''[[SCROLLTITLE COLOR (color)]]'''


[[Category:MegaZeux]]
[[Category:MegaZeux]]

Latest revision as of 00:46, 29 May 2025

The Message Box is a built-in dialog box that displays text. It can be used either though Scrolls and Signs or by programming custom message boxes with Robotic. Message boxes created through Robotic support more formatting options and can also display conditional options that can be selected by the player. Message boxes are a useful tool for quickly implementing conversations, shops, and branching dialogue trees.

Commands

. "@string" - The message box will display the name of the calling robot as a title when it's drawn.

[ "string"

& "string"

% "string"

? "label" "string"

? "counter" "label" "string"

SCROLLARROW COLOR (color)

SCROLLBASE COLOR (color)

SCROLLCORNER COLOR (color)

SCROLLPOINTER COLOR (color)

SCROLLTITLE COLOR (color)