MZ 'Heroes on the left' plugin help

For my RPG, I'm trying to make my own plugin for getting actors to be on the left side.
After issues with other plugins, I decided to just make my own. This one places all actors on the left side (enemies left as is, as they can be tailored to be on the right), and should also have an animation for actors to run up to an enemy for a melee attack, then back after
I am also aware that actors will still run to the right when using run.
i have been working on this for about a week, and it functions with some small issues other than the ones mentioned
What exactly is the question?

Also, regarding the plugin... did you write this, or did you ask ChatGPT or some other AI to write it? Genuine question because I see "runAttackSequence" defined twice but never called, and startAnimation() with arguments that I'm not familiar with...?
What exactly is the question?

Also, regarding the plugin... did you write this, or did you ask ChatGPT or some other AI to write it? Genuine question because I see "runAttackSequence" defined twice but never called, and startAnimation() with arguments that I'm not familiar with...?
It's functional for the most part, but I have been struggling to add some extra stuff I want for it's basics
Such as a learner animation for male attacks where when performing a melee attack, an actor runs up to an enemy, attacking, then running back
It's functional for the most part, but I have been struggling to add some extra stuff I want for it's basics
Such as a learner animation for male attacks where when performing a melee attack, an actor runs up to an enemy, attacking, then running back
Okay, you still haven't answered my question who wrote the code, because it doesn't make much sense to define functions without calling them and to use functions with arguments it can't process. But in any case, I think this should be in "Learning Javascript" so I'll ask the mods to move it so that you can get more adequate help.
Okay, you still haven't answered my question who wrote the code, because it doesn't make much sense to define functions without calling them and to use functions with arguments it can't process. But in any case, I think this should be in "Learning Javascript" so I'll ask the mods to move it so that you can get more adequate help.
I am still leaning Java
I am still leaning Java
I hope you mean Javascript, because Java ain't gonna help you here.
I hope you mean Javascript, because Java ain't gonna help you here.
Yes
We all have to start somewhere. I myself couldn't write a single overwrite two years ago. But don't resort to AI if you want to learn. Aside from it spouting BS code, it's been demonstrated in scientific studies that you actually learn nothing from it (measured by the ability to reproduce something after X months). Even if it works, you'll have build up nothing. So don't.

Note that there are programmers that use AI for coding. That doesn't mean novices should, too. Good luck!
Any tips to fix this?
Any tips to fix this?
No. Please be honest and don't try to trick us into helping you with AI slop. There is no fixing this. You can review the rules here.

If you are unable to code, I would suggest you to just post it as a Plugin Request. If you want to learn code, you can post in the Learning JavaScript forum. But if you come with AI-generated code, no one can help you.
1757298823394.png
She never said she used Artificial intelligence
Asking for help with a plugin that seems to be AI generated would have been a warning at worst as it was the first time it happened, but...

Creating a duplicate account to argue for oneself falls under Instant Ban Offence #4 as outlined in the rules.

Original thread: https://forums.rpgmakerweb.com/threads/heroes-on-the-left-plugin-help.179975/