Hi, everybody!
I'm trying to make a popup plugin. To this, I created a new Window and placed a function in the Scene_Map to show it. I want to use a plugin command to show the window with contents, so created this:
Game_Interpreter.prototype.pluginCommand = function(command, args) {
// Show popup.
if (command == "Popup") {
???
};
};
But I haven't idea of how to call the function. $gameMap seems don't be the correct. Some hint?
I'm trying to make a popup plugin. To this, I created a new Window and placed a function in the Scene_Map to show it. I want to use a plugin command to show the window with contents, so created this:
Game_Interpreter.prototype.pluginCommand = function(command, args) {
// Show popup.
if (command == "Popup") {
???
};
};
But I haven't idea of how to call the function. $gameMap seems don't be the correct. Some hint?