Author Topic: Message Box question  (Read 5208 times)

Dr Obvious

  • Regular
  • **
  • Posts: 53
    • View Profile
    • http://www.drobvious.net
Message Box question
« on: 2005-09-08, 10:11:02 AM »
Yes, even more questions.  I just had a real quick question about message boxes, is there a group of flags I can set so I can change the position of it and various other attribultes like how it already has the font size flag #FSZ?

I want to do one of two things with the message boxes and I'm not sure if I can do these:

1.  Move the message box to a certain point on screen and have the characters potrait next to the message box (much like you would see in something like FF Tactics).

or 2. Have a little message box bubble like you would see in comic books appear near the characters head.  The bubble would have to be able to be set relative to the player sprite and set to absolute pixel positions.

bluemonkmn

  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2761
    • ICQ Messenger - 2678251
    • MSN Messenger - BlueMonkMN@gmail.com
    • View Profile
    • http://sgdk2.sf.net/
    • Email
Message box position
« Reply #1 on: 2005-09-08, 05:20:41 PM »
No, I think everything that you can do with a message box is available in the message box wizard.  If you want to draw text at a particular position, you'd probably have to do it with CurrentDisplay.DrawText in script.  (The display object is documented in BMDXCtls.hlp in the BMDXCtls source code package.)

Dr Obvious

  • Regular
  • **
  • Posts: 53
    • View Profile
    • http://www.drobvious.net
Message Box question
« Reply #2 on: 2005-09-08, 07:27:52 PM »
Ah, oh well.  I guess I'll just have to do the portrait thing by making some sort of background or, if I can't do that, just making a portrait sprite next to the box relative to the player (since the player is always in the middle of the screen, or at least the places where I have message boxes).