Newquaza 96

Veteran
Veteran
Joined
Sep 5, 2014
Messages
35
Reaction score
6
First Language
Italian
Primarily Uses
I'm using Yanfly's Row Formation plugin, and my game features three rows: The front row, the middle row and the back row. The back row in particular cannot be targeted by most damaging skills, and here resides the problem.
Since i'm experiencing problems with balancing the game to work with three rows like that, is there a way to make so, when all the battlers of a row collapse, the battlers that are in a further row move forward to occupy the empty row? For example, if all the battlers in the front row collapse, then the battlers in the middle row go to the front row, and the battlers in the back row go to the middle row.
Thanks in advance.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
34,763
Reaction score
8,976
First Language
German
Primarily Uses
RMMV
I've moved this thread to Plugin Support. Please be sure to post your threads in the correct forum next time. Thank you.



Please link to the plugin you're talking about, you can't expect everyone to know it
 

omen613

Veteran
Veteran
Joined
May 22, 2012
Messages
309
Reaction score
109
First Language
English
Primarily Uses
One of Yanfly's newer plugins is the Selection Control that lets you set skills to only attack the front row or the back row. This would make the middle row the safe row because you would have to have a skill that specifically targets the middle row to be targeted (or hit all of course.) When the front row dies, the middle row now becomes the front row. and if the back row dies first, then the middle row now becomes the back row.


I know you said you want the back row to be the safe row but i'm not sure if thats possible. 
 
Last edited by a moderator:

matthew30903

Veteran
Veteran
Joined
Jun 29, 2014
Messages
84
Reaction score
32
First Language
English
Primarily Uses
RMMZ
I was trying something similar that would move all from the previous line forward if all in the first where gone, but I could only get it working for one enemy at a time. I deleted it, but I will try to remake it. You would use the BuffsStateCore's <Custom Turn Start Effect> tag in the row state for that row and a conditional to check how many members are alive in the row in fount of it. If members of the next row is less than what you would have as the maximum then it will move an actor to the next row.


Edit: Here is one that detects and distinguishes between actor and enemies. It will advance an actor from the row this state is applied to. This will move an actor or enemy to row one if there are zero actors in the front row. You can change the "=== 0" part to match your needs for the number of actors needed alive in the row to make this activate. Increment "1" to what ever row you wish battlers to move to.

Code:
<Custom Turn Start Effect>
if (user.isActor()) {
 if ($gameParty.rowAliveSize(1) === 0) {
  user.setRow(1)
 }
}
else {
 if ($gameTroop.rowAliveSize(1) === 0) {
  user.setRow(1)
 }
}
</Custom Turn Start Effect>
 
Last edited by a moderator:

Latest Threads

Latest Profile Posts

Have you ever had the problem of not knowing how to name your game?
I tried to draw it to keep the aspect ratio of 48*48
It doesn't look good, but I'm not sure if there are other ways to render larger characters. and then maintain the sharpness or not
SF_Enemy1_6 added!
index.php

Just thought I'd share how my battlers are looking for my 4 main characters. From left to right... Ashlyn the brave fighter, Lizzabelle the peaceful mage, Suki the thief, Saedra the not-so-peaceful mage.

pLZHVLI.png
Power to the Game Make!

Forum statistics

Threads
118,781
Messages
1,118,659
Members
155,950
Latest member
Sorcuris
Top