Request: Completely remove the "EquipCommand" Window

Status
Not open for further replies.

Morpheus

Jack-of-Trades
Veteran
Joined
Mar 14, 2012
Messages
197
Reaction score
48
First Language
english
Primarily Uses
N/A
I would like to request a plugin that just outright removes this window from the game, please.

I should note I am using the free YEP EquipCore as well. Thank you!
 

Aerosys

Veteran
Veteran
Joined
Apr 23, 2019
Messages
283
Reaction score
261
First Language
german
Primarily Uses
RMMV
Why don't you just go into Database -> System and disable the Equip Command?
 

Morpheus

Jack-of-Trades
Veteran
Joined
Mar 14, 2012
Messages
197
Reaction score
48
First Language
english
Primarily Uses
N/A
Why don't you just go into Database -> System and disable the Equip Command?
I don't want to remove being able to equip items, I want to remove the window in there called "EquipCommand". It's the window that has the options "Equip, Remove, Optimize".
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
2,361
Reaction score
1,520
First Language
English
Primarily Uses
RMMV
The only problem is that Window_EquipCommand is the main command window in that scene and what drives the cancel handler, so what do you want to replace it with?
 

Morpheus

Jack-of-Trades
Veteran
Joined
Mar 14, 2012
Messages
197
Reaction score
48
First Language
english
Primarily Uses
N/A
The only problem is that Window_EquipCommand is the main command window in that scene and what drives the cancel handler, so what do you want to replace it with?
If it can't be removed then can it be made so that "cancelling" (backing out, pressing ESC, etc) skips that menu too and just exits the Equip Scene completely? I can already make it so that the menu starts in the "equip" window, it's just annoying having to press ESC twice to back out.
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
2,361
Reaction score
1,520
First Language
English
Primarily Uses
RMMV
You could modify the cancel handler of the equip slot window so that it calls this.popScene.bind(this) instead of returning to the equip window.
 

Morpheus

Jack-of-Trades
Veteran
Joined
Mar 14, 2012
Messages
197
Reaction score
48
First Language
english
Primarily Uses
N/A
You could modify the cancel handler of the equip slot window so that it calls this.popScene.bind(this) instead of returning to the equip window.
Could you kindly point me to which line that is? I'm not an expert coder so I'm not sure where that is :smile:
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
2,361
Reaction score
1,520
First Language
English
Primarily Uses
RMMV

Morpheus

Jack-of-Trades
Veteran
Joined
Mar 14, 2012
Messages
197
Reaction score
48
First Language
english
Primarily Uses
N/A
Line 947.
Of which .JS? I looked in the YEP and Windows files but 947 isn't any cancel handler. Sorry, I'm utterly clueless right now.
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
2,361
Reaction score
1,520
First Language
English
Primarily Uses
RMMV
YEP_EquipCore.js. The line should read

Code:
this._slotWindow.setHandler('cancel',   this.onSlotCancel.bind(this));
 

Morpheus

Jack-of-Trades
Veteran
Joined
Mar 14, 2012
Messages
197
Reaction score
48
First Language
english
Primarily Uses
N/A
YEP_EquipCore.js. The line should read

Code:
this._slotWindow.setHandler('cancel',   this.onSlotCancel.bind(this));
Ahh, it was 911 for me. Thanks so much! Can confirm that it works!
 

hiddenone

Lurker Extraordinaire
Global Mod
Joined
Feb 19, 2014
Messages
2,425
Reaction score
5,161
First Language
english
Primarily Uses
RMMV

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts



It's my birthday! :kaoluv: Also, Cupcake is done and out(ill post about it in a couple of days, busy today)
Not to be greedy, but if anyone happens to have VX Ace or MV Resource steam keys that I don't have, lying around, I'd be happy to take them off your hands.
Got accepted into the architecture degree. Now I have all the doubting questions. Have to give them an answer in the next few days.
Just realized I have a few Steam gifts floating around. Anyone need RPG Maker MV or XP (Steam only)? Send me a message and I will send them on over!

EDIT: Just an RPG Maker MV gift remaining! XP has been taken.
*when you can do the Unity tutorials, but when you actually try and convert it to your own knowledge, it fails horribly*

Forum statistics

Threads
100,577
Messages
977,414
Members
132,163
Latest member
Guhh
Top