Battle movement Help please

So I am trying to write a script that makes the actors approach the target, attack and then dash back to starting position.
I have it where the actors attack, then dashes at enemy and then back again. I can not seem to figure out how to get the actor to dash, attack - dash back.
I have tried waits, asynchronous code different orders... the strange thing is that the logs return the correct order of operations, but the visual is not that at all
This is my last working script that almost works. lol


*Side View
*Time Progress (Active)
What you want is usually called "Action Sequences", and implementing those is a bit more complex.
That is because you have to coordinate different forms of updates to the sequences.

Unfortunately the main plugins that implement action sequences for MZ come from Visustella and are obfuscated, so I can't tell you to read their code to learn how to handle that.

you'll either have to find a non-obfuscated alternative to visustella that also implements action sequences, or go the extra step for check the code from Yanfly for MV, and transpose that into code for MZ to implement.
What you want is usually called "Action Sequences", and implementing those is a bit more complex.
That is because you have to coordinate different forms of updates to the sequences.

Unfortunately the main plugins that implement action sequences for MZ come from Visustella and are obfuscated, so I can't tell you to read their code to learn how to handle that.

you'll either have to find a non-obfuscated alternative to visustella that also implements action sequences, or go the extra step for check the code from Yanfly for MV, and transpose that into code for MZ to implement.
Oh I see. That's quite the pain. I really appreciate the informative reply. Makes a lot of sense though and explains why I have had so many issues.
You can try looking at Akea's Animated Battlers, ATT_Turan's Eval Tags or NRP's Dynamic series plugins

Well I solved it. Took me a bit, and it is not quite perfect, but melee style kind of dash attack and ranged don't move at all but does damage and reasonably smooth animations. Had to stop rmmz core performing things and do my own. I am happy with it at least.

Original thread: https://forums.rpgmakerweb.com/threads/battle-movement-help-please.175057/