Hey all,
I have been working on a game where the leader of the party is kinda like a pokemon trainer, and she will pop in at the start of the fight, summon the characters you have selected to be in your party, and then leave until the fight is over.
I had a working event for this, where she will play an animation (curtesy of yanfly's action sequence) and then leaves the battle>
This was done by swapping the party order until she is at position 5, and then restricting the party to 4. Essentially removing her.
Then after the battle is finished, she is swapped back into the first position.
However I realised this doesn't work if you only have 1-3 party members, excluding the leader, because it relies on having 5 members. I then experimented with lots of different scripts and commands to try get it to work with only having 1-3 other party members, but every time I change the max party size back to 5, the reserve members join.
The only fix I can think of, is a script/Java code that blocks reserve members automatically joining.
I would really appreciate any input on this as its been driving me insane for the last day, thanks.
Edit: Or, if anyone knows how to send an actor into the reserve with a script/command. The same way that yanfly's party system can 'remove' a character from the formation but not the party itself. That would also be useful in fixing this system as I can just remove the characters that are added due to the party size changing.
I have been working on a game where the leader of the party is kinda like a pokemon trainer, and she will pop in at the start of the fight, summon the characters you have selected to be in your party, and then leave until the fight is over.
I had a working event for this, where she will play an animation (curtesy of yanfly's action sequence) and then leaves the battle>
This was done by swapping the party order until she is at position 5, and then restricting the party to 4. Essentially removing her.
Then after the battle is finished, she is swapped back into the first position.
However I realised this doesn't work if you only have 1-3 party members, excluding the leader, because it relies on having 5 members. I then experimented with lots of different scripts and commands to try get it to work with only having 1-3 other party members, but every time I change the max party size back to 5, the reserve members join.
The only fix I can think of, is a script/Java code that blocks reserve members automatically joining.
I would really appreciate any input on this as its been driving me insane for the last day, thanks.
Edit: Or, if anyone knows how to send an actor into the reserve with a script/command. The same way that yanfly's party system can 'remove' a character from the formation but not the party itself. That would also be useful in fixing this system as I can just remove the characters that are added due to the party size changing.