Need help with Yanfly Row Formation positions

Hi guys,

I'm using Yanfly Row Formation plugin (which can be found here: http://yanfly.moe/2016/01/02/yep-54-row-formation/) for my battle system. I have setup the lineup for my actors just fine, but the enemies' troops are messed up. I have 3 rows and give a notetag <Default Row: 1, 2, 3> to my enemies which makes them stand in a random row from 1 to 3. However, their Y positions don't seem to be right (X looks fine to me). Here is the detail:

- I have put all enemies into the same point in a troop like this (There are four of them):
Spoiler: Spoiler
Troops_zpsawzmfkm1.png

Case 1:
- Here is the row Y position i give them with screenY at the beginning:
Spoiler: Spoiler
Untitled_zpsauutohqr.png

- Here is what it looks like in battle. At first their positions looks perfect like this:
Spoiler: Spoiler
F1_zpssvgvnkcy.png

- However, after a skill with notetag <Push Back Target Row: 1> which push the target 1 row backward, their positions get messed up (as far as i know whenever their positions are changed, they will get messed up):
Spoiler: Spoiler
F2_zpsj5lkkxtl.png

F3_zpsafpkxmym.png

Case 2:
- Here is the row Y position i give them with centerY at the beginning:
Spoiler: Spoiler
Untitled2_zpsiiemizrs.png

- Then at first when battle start, their positions look messed up like this:
Spoiler: Spoiler
R1_zps8x9ifkvt.png

- However, after a skill with notetag <Push Back Target Row: 1> which push the target 1 row backward, their positions get in line perfectly as below (and from this moment, any changes in their row will also adjust their positions perfectly) :
Spoiler: Spoiler
R2_zpsxs666to8.png

Here i have a video for more detail:



So as far as i know, it might be about "screenY" and "centerY", but i have not quite understood all about the parameters (screenY, centerY, rowSize, rowIndex, rowId) which affect positions of enemies so i cannot make change to adjust like what i want.

I just need my enemies' positions to be adjusted relative to each other in the troop even when battle starts and when they change their rows. So here i'm asking for your help if you have any idea to make this right. Thank you very much for this.
Try a simple formula for the y like 360 + (rowIndex * 60)
This formula mean that enemies will start being on y360 and then enemies will be at 420,480,540.

Row formations has lots of bugs by default like positions not moving properly when the target is moving by itself, but if all you do is using skills to move targets, it should be fine.

If it still doesn't work, you may need another plugin to fix the enemies positions at the beginning.
Thank you for your answer. I will give it a try and see if it should work. However, if row formations plugin has lots of bugs like that, i might consider not using it and change to another battle system.
Try a simple formula for the y like 360 + (rowIndex * 60)
This formula mean that enemies will start being on y360 and then enemies will be at 420,480,540.

Row formations has lots of bugs by default like positions not moving properly when the target is moving by itself, but if all you do is using skills to move targets, it should be fine.

If it still doesn't work, you may need another plugin to fix the enemies positions at the beginning.

Well, i tried your suggestion, but it couldn't help (especially when some enemies changed their rows). However, i have come up with a temporary solution which changes the enemies' rows and brings them back to their starting rows when battle begin.

It looks a lot better, but i might think of taking off Row Formation Plugin.

Original thread: https://forums.rpgmakerweb.com/threads/need-help-with-yanfly-row-formation-positions.75612/