Hi,
I'm starting to handle the customization of the menus for the game I'm working on and I'm mostly oblivious to this part of MV.
I tried to add an entry in the combat menu called "tactic" which contains 4 commands (2 for changing actor row, 1 for changing weapon and one to pass turn).
The problem is that once the menu opens I can move the selector on entries but it moves also for the combat menu and when I press enter it runs the code bound the combat menu instead of the tactic newly open window.
I tried putting a few lines in the function that opens the tactics menu trying to disable the combat one but nothing worked so far.
As you can see I tried hide, close and deactivate, but it still selects its entries
Thank you in advance
I'm starting to handle the customization of the menus for the game I'm working on and I'm mostly oblivious to this part of MV.
I tried to add an entry in the combat menu called "tactic" which contains 4 commands (2 for changing actor row, 1 for changing weapon and one to pass turn).
The problem is that once the menu opens I can move the selector on entries but it moves also for the combat menu and when I press enter it runs the code bound the combat menu instead of the tactic newly open window.
I tried putting a few lines in the function that opens the tactics menu trying to disable the combat one but nothing worked so far.
Code:
Scene_Battle.prototype.commandTactic = function() {
this._tacticWindow._actor = BattleManager.actor();
this._tacticWindow.refresh();
this._tacticWindow.show();
this._tacticWindow.activate();
this._tacticWindow.open();
this._actorCommandWindow.hide();
this._actorCommandWindow.close();
this._actorCommandWindow.deactivate();
};
As you can see I tried hide, close and deactivate, but it still selects its entries
Thank you in advance