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.

Message System Script

I've been trying to get this script to work for a while now, and I just can't get it. It's supposed to modify the way messages are handled. There's a text file which it reads using the MACL, which contains a hash that looks like this:
{
dialog_1 => {"lines" => [line_1, line_2, line_3], "names" => [name_1, name_2, name_3]},
dialog_2 => {"lines" => [line_1, line_2, line_3], "names" => [name_1, name_2, name_3]}
}
When Show Message is used, the script looks at the text and if there is an element in the hash that has the same key (dialog_1 or dialog_2, in the example) that is the same as the first line of the message text and an integer for the second line, it will show a message window with the text of the corresponding line. If the second line is a range, then it will show a separate window for each line. The names are shown in an extra window that I haven't tried to implement since I can't get the main thing to work.

Everything I wrote or changed is in Interpreter, Scene_Map, Window_Name, or Window_Dialog, which are at the bottom of the scripts.

Can someone help me?
Here is the link.
 

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