Since the font I'm using is smaller than the honkin' huge font that comes bundled with the RTP (thanks, Dubealex's AMS!,) there's a little more room in text boxes; however, the size constraints for the Show Text event command don't change at all. Three lines in 22 font isn't three lines in 18, yano?
So what I'm asking you fine folk is how to show text in a dialog box using a script call, as well as any important things that might come with it (for instance, indenting a new line using ": :," as it does in the event menu.) I'm assuming that such a call would work with any CMS' commands (\a, \., etc.,) but if that's not the case please tell me so I don't wind up wasting time that could be better spent procrastinating.
Normally I'd pull up a couple likely classes in the Script Editor and check out which script command is bound to Show Text, but my screen's cracked and slowly dripping into my hard drive, leaving the bottom third looking like a carelessly vomited Royal Rainbow. This has pretty much put a halt on development, since the majority of windows in RMXP can't be resized, and all store their OK buttons and scroll bars under said Royal Rainbow's domain. So I'm sorry for the inconvenience and the highly inexperienced question, but at least I'll be learning something new about Ruby. XD
EDIT: I'm quite stupid and don't know how to read FAQs.
However, some things in this baffle me.
object.contents.draw_text(x pos, y pos, width, height, text, align)
For instance, what would I place under object?
Erm... That's really my only question. I can get the X and Y position through experimentation.
So what I'm asking you fine folk is how to show text in a dialog box using a script call, as well as any important things that might come with it (for instance, indenting a new line using ": :," as it does in the event menu.) I'm assuming that such a call would work with any CMS' commands (\a, \., etc.,) but if that's not the case please tell me so I don't wind up wasting time that could be better spent procrastinating.
Normally I'd pull up a couple likely classes in the Script Editor and check out which script command is bound to Show Text, but my screen's cracked and slowly dripping into my hard drive, leaving the bottom third looking like a carelessly vomited Royal Rainbow. This has pretty much put a halt on development, since the majority of windows in RMXP can't be resized, and all store their OK buttons and scroll bars under said Royal Rainbow's domain. So I'm sorry for the inconvenience and the highly inexperienced question, but at least I'll be learning something new about Ruby. XD
EDIT: I'm quite stupid and don't know how to read FAQs.
However, some things in this baffle me.
object.contents.draw_text(x pos, y pos, width, height, text, align)
For instance, what would I place under object?
Erm... That's really my only question. I can get the X and Y position through experimentation.