RPG Maker Forums

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!

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,048
Messages
1,018,543
Members
137,834
Latest member
EverNoir
Top