The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Scripting => Topic started by: arkanesociety on June 16, 2011, 09:37:18 PM

Title: Aligning messages into columns?
Post by: arkanesociety on June 16, 2011, 09:37:18 PM
Hello all,

I've done a bit a searching, but there's nothing that explicitly tells me how to do this.

I intend to use a message box to display a character's stats for a menu I'm creating.  I need the layout to be displayed into two separate columns.

I can add spaces between whats written to almost line up the text, but the problem arises once the value of a stat increases to a value with additional digits (i.e. - 1 to 10 to 100 to 1000, etc).  This moves the text following the variable over one more space, ruining the alignment with everything else.

Is there a way using the existing message commands or a custom messaging script that will allow the text to be aligned into multiple columns?  Or perhaps one with a command that inserts x amount of spaces?