[RMMV] How to add a party member available in Formation?

Hi, all!

I have added YEP_PartySystem.js to my game plugins, and would like to add an actor in the formation list, not add in the game party now, just add to the list.

If I use "Change Party Member: Add XXX" in event, the said actor will be added in the game party immediately.

So, the question is : How shall I add one more actor as an option in the formation list?
You'd need to edit the formation list code because by default it uses the current party members, because well, the formation menu is for sorting the party anyway.

Can you also explain what you are trying to do? Like what do you want to achieve by adding the actor to the formation menu but not to the party?
solved!

$gameParty._actors.push(5);

where 5 is the actor id

Original thread: https://forums.rpgmakerweb.com/threads/rmmv-how-to-add-a-party-member-available-in-formation.108728/