Ability to add the Formation menu back mid-game

Hey folks!

I was looking for some information and I realised it doesn't seem to exist anywhere (apologies if my search has not been exhaustive enough) - I'm looking for something quite specific and figured I ought to ask for help:

I've got these menu commands set up in the following configuration (it's working perfectly for my needs):

1662883882764.png


But what if someone wanted to re-add Formation. I know it'd be possible to have it "but greyed out" by simply restricting access until the point at which it should become available, but I think hiding it altogether is a much more elegant solution in terms of onboarding players.

Is there a way to do this through eventing using a script command or similar?

Ta!
You could use YEP Main Menu Manager, and have a switch as the show eval for the formation command.

Is there a way to do it without using plugins? I've been trying to keep as barebones as possible
use this one simple line in a script call
$dataSystem.menuCommands[4] = true;
Hot damn!! Thank you friendo!
Hot damn!! Thank you friendo!
Before being too happy about it, check if it persists when loading saves.
My guess is, that it won't.
Before being too happy about it, check if it persists when loading saves.
My guess is, that it won't.

I checked, you wre absolutely right. Got around this by using a little "Load game common event" with a conditional that when a switch is checked it runs the above script call when a file is loaded.

Works perfectly, thread resolved!

Original thread: https://forums.rpgmakerweb.com/threads/ability-to-add-the-formation-menu-back-mid-game.151216/