Hi there. I've been helping with getting a particular game translated, and have been using Yanfly's Ace Message System script to help us with several things, in particular using the name window part of the script in order to have the speaker's name pop up in a separate window. This gives us a spare line for each window of dialogue (useful since JP text tends to not need as many characters as EN text) and it just looks better.
So one problem is that the dev has various lines said by characters during battle, triggered by things like when they use a skill, or are defeated. Yanfly's AMS only works in normal message windows, and doesn't work for the window during battle (or at least when putting \n<Name> into the lines, it doesn't work). All of this is called via script, not common event, if that makes any difference. So I was wondering how exactly I could get the namewindow() method to be called from outside of the Game_Window class that is set up in Yanfly's script? I don't have much experience with Ruby, so any help would be great. Thanks in advance for any help.
So one problem is that the dev has various lines said by characters during battle, triggered by things like when they use a skill, or are defeated. Yanfly's AMS only works in normal message windows, and doesn't work for the window during battle (or at least when putting \n<Name> into the lines, it doesn't work). All of this is called via script, not common event, if that makes any difference. So I was wondering how exactly I could get the namewindow() method to be called from outside of the Game_Window class that is set up in Yanfly's script? I don't have much experience with Ruby, so any help would be great. Thanks in advance for any help.