consider the following:
Window_MenuCommand.prototype.makeCommandList = function () { this.addMainCommands(); this.addFormationCommand(); this.addOriginalCommands(); this.addOptionsCommand(); this.addCommand('Something', 'Something'); this.addSaveCommand(); this.addGameEndCommand(); }If I do this, along with the other required code to create a new command in the main menu of the game, I am stopping other people from adding there commands to mine.
How ever if I do:
var oldGameMenu = Window_MenuCommand.prototype.makeCommandList; Window_MenuCommand.prototype.makeCommandList = function () { oldGameMenu.call(this); this.addCommand('Something', 'Something'); }My new command is appended AFTER the game end command. Is there a a way to create a custom ordering but still keep other peoples scripts working when they add there own stuff to the menu list?
Window_MenuCommand.prototype.makeCommandList = function () { this.addMainCommands(); this.addFormationCommand(); this.addOriginalCommands(); this.addOptionsCommand(); this.addCommand('Something', 'Something'); this.addSaveCommand(); this.addGameEndCommand(); }If I do this, along with the other required code to create a new command in the main menu of the game, I am stopping other people from adding there commands to mine.
How ever if I do:
var oldGameMenu = Window_MenuCommand.prototype.makeCommandList; Window_MenuCommand.prototype.makeCommandList = function () { oldGameMenu.call(this); this.addCommand('Something', 'Something'); }My new command is appended AFTER the game end command. Is there a a way to create a custom ordering but still keep other peoples scripts working when they add there own stuff to the menu list?