RPG Maker MV - Custom bad guy damaged body not showing

Hey there,
Okay - so I am using Galv's fabulous Map Projectile's plugin (learn about the plugin here https://forums.rpgmakerweb.com/index.php?threads/galvs-map-projectiles.68281/ ), and it is set so that when the player fires on a bad guy, it turns self switch A on. Which seems to work perfectly, except that the image of the damaged bat's body, is not the image I selected to show when switch A is turned on, as you can see in the video, the game seems to randomly decide to choose some other damaged body on the sprite sheet.



What's extra weird is, if the character leaves the map and returns, the correct damaged body is now visible.

I have tried a few things to fix the issue. I tried placing the bat body in the place of the damage body that it kept selecting. It then chooses to select the next body down. I tried placing the bat body at the top of the sheet, as it seems to have no trouble replacing dead flower bodies with the correct dead flower body, and the dead flower body is at the top of the sheet - but still, the game seems to have an aversion to this particular sprite.
It probably has to do with the "direction facing" of your event.. Sprite shown is affected by the facing direction unless you tick the "Direction Fix" box in the event page.

Most damaged sprites use only 1 frame which is why to make them work, you'd usually need to have direction fix ticked, that way the engine wont treat it like normal sprites.
See, I had heard this could be an issue - which is why, as you can see in the video, the "direction fix" box is ticked. And still, it gives me this problem. 🙁
If you switch from page to page, the direction it will have is the direction it has before the switch took effect regardless of what you set in the 2nd page, so it will still show the wrong image. You will need to use a set move route -> Direction x, where x is whichever direction you need to show that bat, and it will need to take effect before the self switch does.

I've moved this thread to MV support. Thank you.

You fixed my issue!! Thank you! Thank you so much! You're awesome! 😀
You fixed my issue!! Thank you! Thank you so much! You're awesome! 😀

Oopes. Never mind. I spoke too soon.
I probably did something wrong in implementing your solution though.
The damage sprite is at the top, so the move route I chose was "turn up." But that only seems to work sometimes. Which is weird.
Did you give it enough time to complete? If you don't, then the move up will be aborted. May need to check wait for completion in that move event. If that doesn't work, post screenshots of the event as it is now (not a video, some of us can't watch them due to how we are accessing the site).
Wait for completion is on.
Here are screenshots.
For some reason it is choosing to use a sprite that is located two rows down on the sprite sheet.

Screen Shot 2019-06-04 at 10.17.35 PM.png
The turn up doesn't work due to the direction fix tab. You need to either add the turn up to another page (page 1) and have it run when it is defeated, or change the move route to (after unchecking direction fix on the event page):

Set move Route -> Turn UP
Direction Fix ON (put this in the set move route event, there's a command for that).
I don't want to jump the gun - but three attempts in a row, shooting it from different angles, the right body appears - sooo I think you may have solved it. 🙂

Again, thank you so much. You've saved me.
Not a problem. If it does indeed appear solved after a little more testing report the original post and ask for us to close the thread.
Okay. Again. I spoke too soon. Ugh.
For some reason, after I kill it - when I go to have the player examine the body, it changes to the wrong sprite - which is something I'd expect if the direction fix were off.
But the move route now has "direction fix on" as the last thing in it - so that should stay on, shouldn't it?
@JayIsrael You're using the damage sprite sheet as the walking sprite sheet source for the map event, so RPG Maker MV looks at 3x4 sections of the sheet for full walking animations. (It doesn't know this is a damage sheet. These are usually used with a damage state on SV_Battlers.) Replace every image in the lower left 3x4 section with your desired bat image to fix the problem. Why is it happening? The map event is acting like an NPC. When the player interacts with it, it will tend to want to face the player (changing its facing and therefore the image referenced on the walking sprite sheet). Direction fix usually takes care of this, so I'm not sure why you're still having the issue...but the image edit should resolve it. Hope it helps! 🙂

EDIT: In your screenshot of page 2 of Event 7 you have Options set to Direction Fix but your first command is a Turn. That conflicts with the option. My guess is that the command overrides the option.

Sincerely,
Changing the sprite sheet to that of a character sprite sheet seems to have done the trick. Tested a number of times.
I'll report this thread tomorrow as solved, assuming no other problems show up.

Thank you both so much for all your help!

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/rpg-maker-mv-custom-bad-guy-damaged-body-not-showing.109718/