Issue with Yanfly Party Select and Required Members

Greetings! One of my favourite scripts is this one as it comes close to replicating Suikoden's system of being able to talk to an NPC to change your party. However I'm having some problems that I'm unsure as to why they're occuring.

The script can be found here: https://raw.githubusercontent.com/Archeia/YEARepo/master/Menu/Party_System.rb

The problem I'm having is that the script states that "lock_character(ID)" will lock the character in place and make them unable to be moved in any way, whilst "require_character(ID)" will make it so the character can be moved, but if you try to leave the formation screen without them in the party, the game will throw up a 'you need this character' type message. However, "require_character(ID)" seems to be doing the exact same thing as "lock_character(ID)" instead, whereby the required character can't be moved at all. The symbol for a locked character is a gold star whilst the symbol for a required character is a silver one so I know for sure that I'm using the correct script when adding required characters and such.

I'm at a loss as to why it's not functioning correctly. Anyone have any idea? I would like the player to at lease be able to choose their formation even if they're stuck with required characters.
I was looking at the chat long at https://yanflychannel.wordpress.com/rmvxa/core-scripts/party-system/ so try changing every instance of actor.id and actor_id to actor in the script but first look at the log at about january 2013
Thanks 🙂 I changed all the things like the post suggested but it made no difference 🙁 I'll double check tomorrow when I have more time. But it's not looking good 🙁
😳 well I tried...
I found a work around for this but I have another problem with the same script.

By initially disabling the script (setting it to 'false'), it allows me to keep the default formation screen, where I can freely move the characters. However when I go to my NPC, the NPC has a script call for:
Code:
YEA::PARTY::ENABLE_MENU=true
require_actor(1)
call_party_menu
YEA::PARTY::ENABLE_MENU=false
Allowing me to activate his select screen, require the actor for that moment and then disable it, allowing the regular formation screen to be used to move characters around and such. No idea why that works but hey-ho.

The problem I'm having is that after disabling Yan's party menu, if I go into regular formation and move my characters around, it doesn't change the player and follower sprites to the right order. I noticed some other people commenting the same issue but nobody had a solution 🙁 So I'm virtually taking one step forward two steps back here. I NEED to be able to get the characters displaying properly due to a script I have that alters movement speed based on the lead character. I'm sure it's still functioning since it IS re-ordering them in the menu, but I'd rather the correct sprite was showing.

EDIT: I didn't want to double post. In the end I decided to scrap Yanfly's script and opt for an alternative 'Lizzie S Party Changer'. It's far uglier to look at but it functions the way I need it to.

Original thread: https://forums.rpgmakerweb.com/threads/issue-with-yanfly-party-select-and-required-members.103124/