Because I want to restrict Escape to the use of skills, I need to be able to disable Escape from the Command menu. I am using Yanfly's Battle Engine.
I have the following code which was supposed to do this, but when I test it, Escape is not greyed out and can be used, making the skills redundant.
Can anyone suggest an alternative to this?
Maybe even removing the Command menu entirely, as it now serves no purpose (but that may be hugely complicated for all I know).
Thank you.
EDIT
Poster's curse has struck again. While waiting for an answer, I went and did yet another search, having done several before. I immediately found this post which removes the Command menu and solves my problem.
I have the following code which was supposed to do this, but when I test it, Escape is not greyed out and can be used, making the skills redundant.
Code:
class Window_ActorCommand < Window_Command
#--------------------------------------------------------------------------
# new method: process_dir4
#--------------------------------------------------------------------------
def process_dir4
end
#--------------------------------------------------------------------------
# new method: process_dir6
#--------------------------------------------------------------------------
def process_dir6
end
end # Window_ActorCommand
Maybe even removing the Command menu entirely, as it now serves no purpose (but that may be hugely complicated for all I know).
Thank you.
EDIT
Poster's curse has struck again. While waiting for an answer, I went and did yet another search, having done several before. I immediately found this post which removes the Command menu and solves my problem.
Last edited:


