The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Scripting => Topic started by: blazinhandle on February 17, 2007, 02:55:41 AM

Title: Help with Window_Help
Post by: blazinhandle on February 17, 2007, 02:55:41 AM
Hey, I'm trying to create a separate help window that shows the text over multiple lines rather than just one line (or rows) of text.

so instead of this:
_________________________________________________________________
|THIS IS A ROUGH DRAWING OF HOW THE REGULAR HELP WINDOW DISPLAYS TEXT|


something like this:
_________________
|SEE HOW THE TEXT |
|IS SPREAD OUT    |
|OVER MULTIPLE    |
|ROWS? I'M TRYING |
|TO DO THIS       |


What I'm trying to do is create a new Window_Help that shows multiple rows of description for skills, rather than the standard one row help text.

thanks!
Title: Re: Help with Window_Help
Post by: :) on February 17, 2007, 02:56:53 AM
http://rmrk.net/index.php/topic,256.0.html

;D
Title: Re: Help with Window_Help
Post by: blazinhandle on February 17, 2007, 03:04:24 AM
thanks nou, but I'm trying to use it for window_help so that I can draw the description text from skills and display it in multiple rows (yes like yours, but rather than a message, I want to display text using skill description text).
Title: Re: Help with Window_Help
Post by: nevfx on February 17, 2007, 11:57:50 AM
Oh. I don't know, but I've always wanted to manipulate this, so I'll read here...
Title: Re: Help with Window_Help
Post by: blazinhandle on February 18, 2007, 05:40:39 PM
no one knows of a script that can split a message into multiple rows? ???
Title: Re: Help with Window_Help
Post by: Blizzard on February 18, 2007, 06:50:29 PM
The def refresh of Window_Message has the method you need. Basically it works that way that it gets one character, checks its length and if it fits into the window, it draws it, if not, it changes the line and "resets" the x coordinate.
Title: Re: Help with Window_Help
Post by: blazinhandle on February 19, 2007, 12:38:51 AM
hmmm but i need it to reset the y coordinate so it spreads it out in a different row...how would i go about that?
Title: Re: Help with Window_Help
Post by: Blizzard on February 19, 2007, 12:00:05 PM
Increase the y by 32. That's basically how the Window_Message works. Try messing arund with its code and see how it affects the functionality to find out what part of code is doing what. Don't forget to backup it first, lol!