Hey folks o/
I've been scouring the net for help on this one for awhile now and figured I'd post the question.
I'm looking to lock an actor in the reserve party. There are some party manager plugins (like Yanfly and Hime) and while they can lock a member in the party, they cannot lock a member out of it. I am not looking to remove the actor from the party. For very specific reasons, I only want to lock an actor so that it can't be moved from reserve party to battle party.
Is there a way to script this out? If no one knows of a plugin for this, can anyone point me in the right direction on how to script it myself? Maybe somewhere in the selection function adding an if statement that checks the actor ID and then doesn't allow selection if actor ID matches?
Thanks for your time.
TL : DR
- I want to lock an actor outside of the party, in the reserve section, without just removing the party member all together.
EDIT 2: Ok so I found this
$gameActors.actor($gameParty._battleMembers[this.index()])._locked
but when I rewrite it as this
$gameActors.actor($gameParty.members[this.index()])._locked
It throws an "undefined" error. Am I just writing it wrong?
I've been scouring the net for help on this one for awhile now and figured I'd post the question.
I'm looking to lock an actor in the reserve party. There are some party manager plugins (like Yanfly and Hime) and while they can lock a member in the party, they cannot lock a member out of it. I am not looking to remove the actor from the party. For very specific reasons, I only want to lock an actor so that it can't be moved from reserve party to battle party.
Is there a way to script this out? If no one knows of a plugin for this, can anyone point me in the right direction on how to script it myself? Maybe somewhere in the selection function adding an if statement that checks the actor ID and then doesn't allow selection if actor ID matches?
Thanks for your time.
TL : DR
- I want to lock an actor outside of the party, in the reserve section, without just removing the party member all together.
EDIT 2: Ok so I found this
$gameActors.actor($gameParty._battleMembers[this.index()])._locked
but when I rewrite it as this
$gameActors.actor($gameParty.members[this.index()])._locked
It throws an "undefined" error. Am I just writing it wrong?