So far I haven't found any solutions for this, I'm currently using a picture in battle for a part of an enemy sprite that isn't able to be targeted. However, all of the battle animations are displayed under the picture. Is there any plugin or method to change the z index of the animations or the picture so the battle animations will play above the picture?
MV Playing battle animations ABOVE a picture in battle
JS Plugin RequestsThere's no arbitrary z-index value. The various battle sprites (the backgrounds, actors, enemies, window graphics, animations, pictures, etc.) are all drawn in the order in which they're added to the scene's spriteset.
Your specific request would require switching the animation container to another sprite that's drawn later in the process, e.g. after whatever Show Picture draws to. I'm not as familiar with MV's code as I am with MZ so I can't comment if that might have unintended issues.
All that said, with the scenario you're specifically describing, it seems to me that it would be a lot easier to request a little plugin that attaches a secondary sprite to a specific battler.
In fact, I'd be surprised if there wasn't a plugin for untargetable body parts given MV's big plugin variety.
Or just make the body part a separate enemy, position it appropriately, and use some other means to make it untargetable, e.g. a state.
Your specific request would require switching the animation container to another sprite that's drawn later in the process, e.g. after whatever Show Picture draws to. I'm not as familiar with MV's code as I am with MZ so I can't comment if that might have unintended issues.
All that said, with the scenario you're specifically describing, it seems to me that it would be a lot easier to request a little plugin that attaches a secondary sprite to a specific battler.
In fact, I'd be surprised if there wasn't a plugin for untargetable body parts given MV's big plugin variety.
Or just make the body part a separate enemy, position it appropriately, and use some other means to make it untargetable, e.g. a state.
Thanks, I didn't consider making it an untargetable enemy as an option. Worked flawlessly for what I needed.
Original thread: https://forums.rpgmakerweb.com/threads/playing-battle-animations-above-a-picture-in-battle.179070/