MZ Setting enemies to specific layers

Is there a way to set enemies to specific layers using a notetag or something similar? All I found is "move your enemies in troop window", which seems finicky.
There are no specifically defined layers like that.
instead the enemy pictures are drawn in order of the index.

which means you can change the Z-positioning by deleting and re-adding the enemies in the order you want
There are no specifically defined layers like that.
instead the enemy pictures are drawn in order of the index.

which means you can change the Z-positioning by deleting and re-adding the enemies in the order you want
I know about that. I wonder if there's other, easier way to do that, since due to game specifics I need at least ~10 enemies per fight.
I personally use an auto-replenishment method to set up more than 8 enemies. After all, the troop window doesn't really provide a place for you to set labels. While this means the maximum number of enemies on the field is limited to 8, a large number of reserve enemies can still be configured
since due to game specifics I need at least ~10 enemies per fight.

that actually dooesn't matter - the enemies are still drawn in the order of the index, even if the index is larger than 8.
which means you need to find a way to switch the index of two enemies during battle.
There are no "layers", as such. By default enemies are reordered based on their Y coordinate, according to the compareEnemySprite method. This ensures that enemies nearer the bottom of the screen are shown in front of those higher up ("further back").

If you want some kind of plugin for this, I suggest you give an example of what you're trying to do.
TLDR: Turned out the Transform Enemy function allows me to bundle every "enemy" I needed into one, so it's no longer an issue.
For context, I'm using DragonBones with somewhat complex animations, so the DragonBones quickly ran out of space on designated to enemy/actors DragonBones files, and so instead I'm creating dummy enemies, and assigning separate DragonBones files to them, make them Dead - No Disappear, and then force them to do motions in Action Sequences.

Original thread: https://forums.rpgmakerweb.com/threads/setting-enemies-to-specific-layers.177359/