Chaos Project

RPG Maker => RPG Maker Scripts => Script Troubleshooting => Topic started by: Leon_Westbrooke on March 29, 2008, 09:05:28 pm

Title: Does this syntax exist?
Post by: Leon_Westbrooke on March 29, 2008, 09:05:28 pm
Is there a syntax that will allow text to skip down to the next line?  In the help file, it says to use "\n" for a new line, but it did nothing for me.  if there isn't a syntax for it, please, let me know. 
Title: Re: Does this syntax exist?
Post by: Sase on March 30, 2008, 02:17:20 am
\n[X] draws the name when X is the ID of the character.
You should find out that in a custom message system, coz I dunno.
Title: Re: Does this syntax exist?
Post by: Fantasist on March 30, 2008, 07:57:12 am
If it's for messages, just use enter :P
Title: Re: Does this syntax exist?
Post by: Leon_Westbrooke on March 30, 2008, 10:34:27 am
It is for a window. I want to set it up to where it will drop down a line under certain conditions, but it needs to be a command that is in-text. 
Title: Re: Does this syntax exist?
Post by: Fantasist on March 30, 2008, 11:03:22 am
Okay, I'm not too familiar with this. I think you need to process the string first. Check if a \n exists, and then seperate the string at that part. Then, when you get an array of spring parts, iterate through the array and use draw_text.