Command "Change enemy hp" in troop menu

Hi. I have an issue with the command "Change enemy HP". My idea is when the player used a certain skill to run a common event which turn ON a switch for the troop which decrease the health of the enemy to zero or -9999, but nothing happens. I put the command "change enemy hp" in the common event either, but still nothing. I wonder where I make a mistake. The battle start from an event that I placed on the map. Thank you.
troop change enemy hp3.png
troop change enemy hp2.png
troop change enemy hp1.png
Why not just make it target all enemies and then put 9999 in the damage formula? That would be much easier.

But to actually help you find the problem here... Does your attack hit? If your attack misses, the common event won't trigger either. This can happen when your actors AGI or HIT is very low, or the enemies AGI or EVA is very high.

What you can try is put a text message in the common event, just for test purposes, so you can be 100% sure the common event is triggered. Because I think it is not, for some reason.
One we know for sure the common event isn't triggered, we can find out why.
Why not just make it target all enemies and then put 9999 in the damage formula? That would be much easier.

But to actually help you find the problem here... Does your attack hit? If your attack misses, the common event won't trigger either. This can happen when your actors AGI or HIT is very low, or the enemies AGI or EVA is very high.

What you can try is put a text message in the common event, just for test purposes, so you can be 100% sure the common event is triggered. Because I think it is not, for some reason.
One we know for sure the common event isn't triggered, we can find out why.
I put a text in the common event and decrease the enemy's agility and the text shows up, but there's no change with the HP. I want to make it because I put a movie when the skill is activated, when I put a damage formula the movie won't start. but maybe you're right and will do it that way if there is no solution here.
Looking at your event, you did not check the check box in the Change Enemy HP command that says "Allow Knockout."

If you don't allow knockout, then any change to the HP...will not knock them out.
Looking at your event, you did not check the check box in the Change Enemy HP command that says "Allow Knockout."

If you don't allow knockout, then any change to the HP...will not knock them out.
But it will decrease their HP to 1. So the HP should change, even when knockout is disabled.
But it will decrease their HP to 1. So the HP should change, even when knockout is disabled.
Yes, but unless the OP is using a plugin to add HP gauges, there might not be any visual indication of the change. I maintain this is the most likely problem 😉
Yes, but unless the OP is using a plugin to add HP gauges, there might not be any visual indication of the change. I maintain this is the most likely problem 😉
Hmmm could be. But since they say the HP doesn't change, I thought the HP doesn't change. 😛 You could be right, in which case the question wasn't formulated right. 😛
Yes, but unless the OP is using a plugin to add HP gauges, there might not be any visual indication of the change. I maintain this is the most likely problem 😉
Yess! The issue is the "knockout" KO! Thank you ATT_Turan. I've managed it another way to make it. When the movie finished I use the command "force action" and make the player use a lethal invisible skill that costs 0 MP and TP, and it works very well, I want to mention it because someone may could use it for more effect. Thank you again.

Original thread: https://forums.rpgmakerweb.com/threads/command-change-enemy-hp-in-troop-menu.145789/