So I'm having an issue with http://www.yanfly.moe/wiki/Row_Formation_(YEP) in combination with these... http://www.yanfly.moe/wiki/Category:Action_Sequences_(MV). The problem being that when I try to move people with an action sequence and back and forth a row, I get weird results...
Basically I have skills that let the user swap a row with the person in the front, or vice versa. I got this to work with a common event, but I was hoping to have the actual skill move everyone around since the common event is basically hiding everyone till it's done. With action sequences, the best I could do is this...
as you can see, It works fine for the user, but as soon as I use either an action effect (notetag moving) or eval for the target, they slide all over the place and then back to where they're supposed to be. I can't figure out how to have more control over the movement, so this kinda stuff keeps happening.
if anyone who uses both have a solution on how to better move actors/enemies, I'm all ears. I know I could just use notetags or evals normally to move people, but that never looked visually appealing to see someone in an idle stance just slide across the screen to a spot.
Edit... I think I've solved this actually. there's a line of code in the plugin
isNotChangeRowPosition and I added if someone has a state to apply this code. seemed to work. gonna test it a bit more before I close this.
EDIT 2: Now I've got a new problem lol... whenever I switch back or forth with the second person in a row, it resets the person who's now in the back row to the first spot of the back row instead of keeping them in the second spot of the row. I checked the rowIndex and yeah... it's considering them the "0" spot... which I find weird because someone's was already still in the row.
I wonder if it's intentional that the person who's already there doesn't become the first person slotted to a row. All I really need is for the new person in the back row to stay put when put back there instead of sliding to where the other person in the back is.
Wait... I'm onto something. it seems to be all based on the order they are coming into battle? like if actor 1 and 2 switch, it's fine if they're members()[0] and [1]... but if actors 1 and 3 switch, actor 1 ends up on top of actor 2 after switching for some reason. is there a way around this?
I figured out what's causing this I think, but I don't know how to fix it...
this._actor.index() seems to be what it's checking where to put people. I can't think of anything that would make it go off of row position instead though...
Basically I have skills that let the user swap a row with the person in the front, or vice versa. I got this to work with a common event, but I was hoping to have the actual skill move everyone around since the common event is basically hiding everyone till it's done. With action sequences, the best I could do is this...
as you can see, It works fine for the user, but as soon as I use either an action effect (notetag moving) or eval for the target, they slide all over the place and then back to where they're supposed to be. I can't figure out how to have more control over the movement, so this kinda stuff keeps happening.
if anyone who uses both have a solution on how to better move actors/enemies, I'm all ears. I know I could just use notetags or evals normally to move people, but that never looked visually appealing to see someone in an idle stance just slide across the screen to a spot.
Edit... I think I've solved this actually. there's a line of code in the plugin
isNotChangeRowPosition and I added if someone has a state to apply this code. seemed to work. gonna test it a bit more before I close this.
EDIT 2: Now I've got a new problem lol... whenever I switch back or forth with the second person in a row, it resets the person who's now in the back row to the first spot of the back row instead of keeping them in the second spot of the row. I checked the rowIndex and yeah... it's considering them the "0" spot... which I find weird because someone's was already still in the row.
I wonder if it's intentional that the person who's already there doesn't become the first person slotted to a row. All I really need is for the new person in the back row to stay put when put back there instead of sliding to where the other person in the back is.
Wait... I'm onto something. it seems to be all based on the order they are coming into battle? like if actor 1 and 2 switch, it's fine if they're members()[0] and [1]... but if actors 1 and 3 switch, actor 1 ends up on top of actor 2 after switching for some reason. is there a way around this?
I figured out what's causing this I think, but I don't know how to fix it...
this._actor.index() seems to be what it's checking where to put people. I can't think of anything that would make it go off of row position instead though...