- Joined
- Oct 5, 2016
- Messages
- 8
- Reaction score
- 1
- First Language
- English
- Primarily Uses
Hi folks,
I'm working on a skill that summons a meatshield character/punching bag (the game is based on argument styles and you call a literal Strawman).
It's a 1 character battle system in which the char has a party of 4 and a back-up party (like Pokemon) of some large number. The 4 person party travels with the the player and can be swapped out in battle using Yanfly's Party Switch plugin.
Currently, my method is this: When you use the skill, the Strawman joins your party and the total number of battle members changes to 2. Party Switch is disabled to prevent switching out the meatshield. I also might allow party switch but lock the Strawman, I'm not sure yet as I can't get it to quite work. When the Strawman is at 0% HP, the party should revert to 1 member and the party unlock. If I can do the first part, this part should be easy.
Note that there is a plugin command for Setting the party limit in game, but not the battle party.
Here's what I'm having trouble with:
1. Accessing through script the part of Yanfly's code that allows the battle party to be restricted.
2. Ensuring this "character" joins the actual battle. IE: Is at #1 or #2 in the battle party without pushing out the other members.
Here's the script line I used to increase the battle party:
$gameParty.maxBattleMembers() = 2;
I get an invalid left-hand side error though, so I think I'm doing this wrong.
Also, any tips for part 2? Since part 1 isn't working, I haven't even started on Part 2.
Thanks!
I'm working on a skill that summons a meatshield character/punching bag (the game is based on argument styles and you call a literal Strawman).
It's a 1 character battle system in which the char has a party of 4 and a back-up party (like Pokemon) of some large number. The 4 person party travels with the the player and can be swapped out in battle using Yanfly's Party Switch plugin.
Currently, my method is this: When you use the skill, the Strawman joins your party and the total number of battle members changes to 2. Party Switch is disabled to prevent switching out the meatshield. I also might allow party switch but lock the Strawman, I'm not sure yet as I can't get it to quite work. When the Strawman is at 0% HP, the party should revert to 1 member and the party unlock. If I can do the first part, this part should be easy.
Note that there is a plugin command for Setting the party limit in game, but not the battle party.
Here's what I'm having trouble with:
1. Accessing through script the part of Yanfly's code that allows the battle party to be restricted.
2. Ensuring this "character" joins the actual battle. IE: Is at #1 or #2 in the battle party without pushing out the other members.
Here's the script line I used to increase the battle party:
$gameParty.maxBattleMembers() = 2;
I get an invalid left-hand side error though, so I think I'm doing this wrong.
Also, any tips for part 2? Since part 1 isn't working, I haven't even started on Part 2.
Thanks!


