I have Yanfly's visual HP gauge plugin. I'm trying to make a skill that shows an enemy's HP gauge when used, then displays the gauge for that enemy for the rest of the game. But I want the absolute ONLY way to see the HP gauge to be through that skill - no other way. Is there any way to do this? (Sorry if I'm an amateur and there's a really easy way to do this.) Thanks for the help in advance!
MV Any way to make an HP bar only visible after a certain skill?
Javascript/Plugin Supportit looks like you'd be able to use
to have the plugin show that enemy's hp bar. if you use yanfly's skill core or action sequences then you can try
inside of an <after eval>, a <target action>, or whatever you think is needed for that skill
Edit: just remembered Yanfly has a tips and trick for it too
www.yanfly.moe
so theres an exact version you can use
Code:
$gameSystem.addHpGaugeEnemy(id)
Code:
$gameSystem.addHpGaugeEnemy(target.enemyId())
Edit: just remembered Yanfly has a tips and trick for it too
Libra (MV Plugin Tips & Tricks) - Yanfly.moe Wiki
But is there any way to hide the HP gauge under all other instances? From what I can see, there's no way to make the skill the only way to see the enemy's HP gauge.
$gameSystem.addHpGaugeEnemy(target.enemyId())
This worked for getting the skill to display the enemy's HP gauge, but is there any way to turn off every other way to display the gauge?
ah. forgot that the plugin itself only automatically shows them all always, or only after defeating them once.
try this:
make line 349 of the plugin read
Code:
//$gameSystem.addHpGaugeEnemy(this._enemyId);
Code:
$gameSystem.addHpGaugeEnemy(this._enemyId);
That seemed to work! Thanks for all your help!
Original thread: https://forums.rpgmakerweb.com/threads/any-way-to-make-an-hp-bar-only-visible-after-a-certain-skill.176544/