RPG Maker Forums

Hello everyone.

Currently I'm developing a plugin for stat distribution on level up. The flow of the UI is this:
  1. Show a standard Game_Message level up notification (Game_Actor.displayLevelUp)
  2. Operate the stat distribution scene
  3. After popping the scene, show another Game_Message about what skills were learned. (this is a system where skills are learned through raising stats)
My problem is, I'm unfamiliar with how to properly sequence commands without running them through the interpreter. My current solution is some rather volatile callback patchwork:
Code:
Window_Message.prototype.terminateMessage = function() {
    term.call(this);
    if (this._onTerminate) {
        this._onTerminate.call();
        this._onTerminate = null;
    }
}
Can anyone point me in the right direction?

Latest Threads

Latest Profile Posts

Day 9 of giveaways! 8 prizes today :D
He mad, but he cute :kaopride:

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.

Forum statistics

Threads
106,038
Messages
1,018,466
Members
137,821
Latest member
Capterson
Top