Enemy targeting KO'ed character

Using Yanfly's selection control, I've created a skill with selection condition state: 1 (knockout). I've given that skill to an enemy. But for some reason the enemy is not using the skill on knocked out party members. What do?

The engine by default ignores KO'd characters, as they are not part of the initial target choices in the engine. You'd have to have someone rewrite the internal targeting system to fix that.
The engine by default ignores KO'd characters, as they are not part of the initial target choices in the engine. You'd have to have someone rewrite the internal targeting system to fix that.

Is this not what Yanfly's selection control plugin is for?
Is this not what Yanfly's selection control plugin is for?
Yanfly's plugin probably only works for targeting enemies.
Right, Yanfly selection control only works within the limits of the options for targeting, which is only alive enemies. You'd need a drop-down for select 1 dead enemy in the engine before that could ever work as it is set up, as KO is considered dead by the engine, and there is no option to target KO'd enemies at all, as once the enemy is KO'd it is deleted from the targeting array so that is why Yanfly's selection control can't find them to target them. (And if they were not deleted BTW, then any attack could target them, so that is why it is done this way. Otherwise you'd have enemies wailing on KO'd party members and ignoring the rest of the party).

What might work is to use another state instead of 1 for KO, and another plug-in to count that new state as dead for purposes of Game Over. Then it might be possible to target them, but you'd have to test it first to see.
Alright, thanks anyway. I might just use a combination of an empty skill and force action to create the same effect.

Original thread: https://forums.rpgmakerweb.com/threads/enemy-targeting-koed-character.108739/