Help Performing Enemy Skills (via Script)

ok i got a giant rat boss that my party has to fight and it has 2 moves: Bite and Rat Rush.

Bite is the same animation as a regular attack except with the bite sound effect.  Rat Rush is what I'm having trouble getting done.

With "Rat Rush" the rat boss rams the party really quick and does area damage.  The following is the script I have for this skill only available to the boss:

<target action>

move user: FORWARD, 10, 60

wait for movement

perform action

action animation: target

wait for animation

action effect: target

death break

perform finish

<\target action>

While testing it obviously it concludes that the boss sprite disappears does the area damage and for some unknown reason does an additional hit to each party member which i do not want to happen.  Need help to correct this please.
Something like this should do the trick.

Code:
<whole actionmove user: target, center, 60wait for movementaction animation: targetwait for animationaction effect: targetdeath breakperform finish</whole action>
Something like this should do the trick.

<whole actionmove user: target, center, 60wait for movementaction animation: targetwait for animationaction effect: targetdeath breakperform finish</whole action>
Appreciate the help but the boss still isn't moving towards the party (like literally touching them) before damage is dealt it just moves a bit forward before performing skill.
The following is the script I have for
Just a tiny little correction.
What you have listed is NOT a script, but is called an action sequence for a battlesystem.


That difference in calling might look like a semantic thing for the new user, but the term "script" has a very special definition in the RM community.


It originally referred to something written in the script editor (and which had been renamed to plugins in MV).


So basically "scripting" means changing the game mechanics of the entire engine, and if it is used in a different context people might get confused.

Original thread: https://forums.rpgmakerweb.com/threads/help-performing-enemy-skills-via-script.54115/