I would like a random encounter system similar to Bravely Default, where you can have the option to turn them on and off. I'm new to creating scripts but I found something like this...
$gameSystem.disableEncounter();
$gameSystem.enableEncounter();
I'm assuming a menu add on script plus that would do the trick? I don't know how to do this stuff yet, so a quick point in the right direction would really make my life better. Thanks!
So I'm trying to add it to the options, I added this to the .js core in hopes it would work (Im just shooting in the dark, honestly...)
Window_Options.prototype.addGeneralOptions = function() {
this.addCommand(Textmanager.disableEncounter, 'disableEncounter');
this.addCommand(Textmanager.enableEncounter, 'enableEncounter');
It dont work tho, can anyone tell me the right way to handle this so I can just C&P? That'd be delicious
Yanfly, Hime, and Victor all have plugins that either adds a Common Event to the main menu or to the option menu. Hime even has a plugin that allows you to bind Common Events to keys/buttons so that would make it even easier for the player.
You have to create and bind the option.
this.addCommand('Disable Encounter', 'disableEncounter');^ once you do that on the Window part, you need to create a function for disableEncounter on your Scene_Menu that calls the $gameSystem function.
How does the Bravely Default show it though? I am curious to know.
I've moved this thread to JS Plugin Requests. Please be sure to post your threads in the correct forum next time. Thank you.