Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Universal Message System

I am using this message system:
http://www.rmxp.org/forums/showthread.php?t=9669

What I want, is a way of having "templates". Basically, I am using messages for different things. Normal messages, which appear above people's heads. Area messages, which show location info upon entering a certain area. And other stuff too. What I want to be able to do is this:

$game_system.message_template = n

If n is 1, it makes the:
x = 100
y = 100
height = something
width = something
windowskin = 001-blue01
opacity = 0

If n is 2, it makes:
x and y defined by the \e[] command
height = something
width = something
windowskin = black_skin
opacity = 0

If n is 3, it makes:
x and y defined by the \e[] command
height = something
width = something
windowskin = black_skin
opacity = 180



It's complicated, but that's basically what i want.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top