Message Box: Difference between revisions

From MZXWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
The '''Message Box''' is essentially a dialog box that displays text. They can be displayed either through the interaction between the [[Player]] and a Scroll or Sign, or can be displayed programmatically through robotic. Message Boxes created through robotic can also display options, which can be selected by scrolling down to them and hitting enter, which makes it easy to create shops driven by the Message Box.
The '''Message Box''' is essentially a dialog box that displays text. They can be displayed either through the interaction between the [[Player]] and a Scroll or Sign, or can be displayed programmatically through robotic. Message Boxes created through robotic can also display options, which can be selected by scrolling down to them and hitting enter, which makes it easy to create shops driven by the Message Box.
==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 12: Line 23:


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


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

Latest revision as of 07:15, 13 February 2011

The Message Box is essentially a dialog box that displays text. They can be displayed either through the interaction between the Player and a Scroll or Sign, or can be displayed programmatically through robotic. Message Boxes created through robotic can also display options, which can be selected by scrolling down to them and hitting enter, which makes it easy to create shops driven by the Message Box.

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)