[Help] Is there a way to Show Enemy Missing HP %?

It's fine if it uses either plugins or without plugins, but how do I display how much HP an enemy has remaining in % form? Something like what's in the screenshot below circled in red. Like if an enemy is half dead, have something next to it that says "50%".
I know Yanfly has his HP Gauges plugin but I believe it only shows numeric values instead of values in a percentage. I could be wrong though.
Thank you!
missing hp percentages.png
You could probably do this with SRD Hudmaker and have a text element that is equivalent to 100*enemyCurrentHP/enemyTotalHP

You'll need to look up the exact references for those variables

If I was home on my PC instead of phoneposting I could help you more.
You could probably do this with SRD Hudmaker and have a text element that is equivalent to 100*enemyCurrentHP/enemyTotalHP

You'll need to look up the exact references for those variables

If I was home on my PC instead of phoneposting I could help you more.
Thank you! I'll have to take a look at SRD's plugin. Do we know if it conflicts with any of Yanfly's plugins?
it should not conflict with yanfy in general, although it can obviously cause problems with one of those specific plugins where yanfly changed the default HUD.

However several of SRD's plugins do not work when deployed to mobile or web - if that is your target you should be carefully testing them.


That aside, you should know how to get the values you need through the control variable command.
If you go to game data - enemy, you can get the basic enemy values like HP and MaxHP and more.
If used in map or common events the enemy index for the possible eight enemies inside a troop cannot be assigned and displays question marks.
If used in a troop event the type of enemy becomes visible.

The commands still work if used in a common event for a skill during battle, but you have to learn how to target the indices by using it in the troop events.

Original thread: https://forums.rpgmakerweb.com/threads/help-is-there-a-way-to-show-enemy-missing-hp.158967/