public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers

Game freezing from set handler bind -- YEP_Row Formation modifications help.

BMM Archive · July 15, 2026

Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.

Original Source

  • Original title: Game freezing from set handler bind -- YEP_Row Formation modifications help.
  • Original author: Jab-Punch
  • Original date: August 28, 2016
  • Source thread: https://forums.rpgmakerweb.com/threads/game-freezing-from-set-handler-bind-yep_row-formation-modifications-help.67508/
  • Source forum path: Game Development Engines > RPG Maker Javascript Plugins > Javascript/Plugin Support

Summary

Hello, I am trying to modify the YEP_RowFormation plugin to better organize rows by adding a grid format that includes setting default rows and columns for each battler. I have successfully created the format for the battle phase and am now trying to fix the Row Menu to better adjust the actors in fixed positions. After creating a function for the cursor window to move without left/right/up/down without moving an actor, my next objective was to add a select feature to grab an actor and drag him/her along the cursor....

Archived First Post

Hello,


I am trying to modify the YEP_RowFormation plugin to better organize rows by adding a grid format that includes setting default rows and columns for each battler. I have successfully created the format for the battle phase and am now trying to fix the Row Menu to better adjust the actors in fixed positions. After creating a function for the cursor window to move without left/right/up/down without moving an actor, my next objective was to add a select feature to grab an actor and drag him/her along the cursor. Unfortunately, the rowFormationWindow.setHandler function is not cooperating with the system when I try to add an 'OK' trigger within the first argument. The primary issue is that the game keeps freezing whenever I press OK after entering the Row Menu. Does anyone know how to fix this issue? Perhaps there is another function within whatever rowFormationWindow is inheriting from that is interfering with the execution?


I have the file attached with the issue occurring at line 2701.


This is what I altered so far as well as the conditions I anticipated to work with the 'OK' set handler:


Scene_Row.prototype.createRowFormationWindow = function() {
    var wy = this._helpWindow.height;
    this._rowFormationWindow = new Window_RowFormation(wy);
    this._rowFormationWindow.setHelpWindow(this._helpWindow);
    this._rowFormationWindow.setHandler('ok',     this.onRowOk.bind(this));
    this._rowFormationWindow.setHandler('cancel', this.popScene.bind(this));
    this.addWindow(this._rowFormationWindow);
};


Scene_Row.prototype.onRowOk = function() {
    console.log("This is printed out!");
};

View attachment YEP_RowFormation_Up.js

Downloads / Referenced Files

Log in to download

Log in, then follow the RPG Maker Developers Group to see these download links.

Log in to download
Creator Claims / Removal

If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.

#rpg-maker-archive#js-support

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar