Battler Motion Script - Quick Question

Hey there! So I've been having this small little error with my RPG Maker VX ace project. I just know it's something tiny that I've overlooked but either way I can't seem to pin point the exact cause of the error message.

It has to do with the MOG battler motion script. It always happens during an enemy encounter. Here's the error message itself:

noukdMu.png


After doing some research on that specific error message I learned it has something to do with leaving the proper note tags on actors & enemies in the database. But even after taking care of that, I still get the same error.

Would really appreciate any help I could get with this! Thank you.​
According to that error, you're checking if an array is dead instead of a battler object (actor or enemy).
It could be that you misused a script call; for example: $game_party.members.dead? would throw a similar error. Script incompatibility or corruption (changed something you shouldn't have) is also a possibility.

Try:
  1. Replacing the script with a fresh copy.
  2. Moving the script to the top or bottom of your script list. (within materials)
  3. Checking for faulty script calls or custom scripts (if you're writing any)
According to that error, you're checking if an array is dead instead of a battler object (actor or enemy).
It could be that you misused a script call; for example: $game_party.members.dead? would throw a similar error. Script incompatibility or corruption (changed something you shouldn't have) is also a possibility.

Try:
  1. Replacing the script with a fresh copy.
  2. Moving the script to the top or bottom of your script list. (within materials)
  3. Checking for faulty script calls or custom scripts (if you're writing any)

Hey! Thanks for the help - So I just confirmed that adding a fresh script copy doesn't do the trick. I also tried re positioning the battler motion script as you said, though to no avail -- Could it be a different script interfering with it like you mentioned? and if so how could I find out the culprit? There's a lot of scripts I'm using so what would be the best way to narrow it down?

I also tried removing the script entirely, it gave me a different error regarding another one of those MOG scripts when I did that though. Perhaps its something with the ordering?

Really appreciate you getting back to me!
Posting that second error message would have helped.

The best way would be to retrace your steps, try to return your project to a state before the crash and investigate from there. Second best is probably to continue disabling the scripts throwing errors until your project works (post the scripts you've disabled). However, if all else fails, you'll have to painfully disable/remove your scripts one by one until you find your culprit. Of course, if your problem lies within your events (script calls), you'll have wasted a lot of time.

Original thread: https://forums.rpgmakerweb.com/threads/battler-motion-script-quick-question.79448/