Variables to pick up when party order is changed

Hi yall!

I recently fell in love with this alt bust menu plugin and I had the idea that, since my game is only going to have one character playable at a time, I could add invisible actors to the party and make a sort of card menu. When a player uses the formation option and selects a "card" and makes it the leader, I want to use variables to pick up which has been made the leader so it can display some text and backstory while changing the order back to the way it was.

Could anyone walk me through how this could be done? I'm very new to variables and I don't really know how to use them. Any help is SUPER appreciated!!
"Invisible" actors in the party will mess up your battles and menus.

I've moved this thread to Plugin Requests. Thank you.


As this will require a small plugin or modification of one.
I have plans to replace the party during battles, so I'm not too worried about that. I've tested it before and it runs pretty nicely. I'll have to do more tests on the menus, but I haven't noticed anything looking bad so far

Also I didn't realize it would need a plugin so thanks!!

Original thread: https://forums.rpgmakerweb.com/threads/variables-to-pick-up-when-party-order-is-changed.115912/