Hi, I've been having some trouble with HP bars.
In my game, enemies don't have visible HP bars. However, I want a party member to have a skill that makes an HP bar appear underneath the enemy it is used on, like the Tattle skill in the Paper Mario series.
Since HP bars require scripting, so far I have worked around it by simply having a text box pop up that says "this enemy has ___ HP remaining". However this isn't a very elegant solution especially considering you have to use it every time you want to see how much health they have, and it's especially annoying to remember when multiple enemies are in battle considering it doesn't distinguish which enemy it's currently talking about.
So I asked my friend for help and they sent me the Enemy HP Bars script (I'm using the Yanfly engine) and recommended fiddling around with enemy tags. It works fine still, but I can't get HP bars to appear or disappear mid-battle by tweaking any variables or state tags. I've tried utilizing states with "<show gauge>" or "<hide gauge>" in the tags and have a skill apply or remove it, but that doesn't work. I think this is because state tags can't apply enemy tags, which happen upon initialization of the battle, I think.
I haven't been able to find another script for this kind of thing, and I'm a little too scared to dive into the code and try to engineer a solution myself because I'm not very code-literate. What should I do?
In my game, enemies don't have visible HP bars. However, I want a party member to have a skill that makes an HP bar appear underneath the enemy it is used on, like the Tattle skill in the Paper Mario series.
Since HP bars require scripting, so far I have worked around it by simply having a text box pop up that says "this enemy has ___ HP remaining". However this isn't a very elegant solution especially considering you have to use it every time you want to see how much health they have, and it's especially annoying to remember when multiple enemies are in battle considering it doesn't distinguish which enemy it's currently talking about.
So I asked my friend for help and they sent me the Enemy HP Bars script (I'm using the Yanfly engine) and recommended fiddling around with enemy tags. It works fine still, but I can't get HP bars to appear or disappear mid-battle by tweaking any variables or state tags. I've tried utilizing states with "<show gauge>" or "<hide gauge>" in the tags and have a skill apply or remove it, but that doesn't work. I think this is because state tags can't apply enemy tags, which happen upon initialization of the battle, I think.
I haven't been able to find another script for this kind of thing, and I'm a little too scared to dive into the code and try to engineer a solution myself because I'm not very code-literate. What should I do?