Message Box: Difference between revisions

From MZXWiki
Jump to navigation Jump to search
No edit summary
(Mostly rewrite message box description.)
 
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 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==



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)