MV Any way to make an HP bar only visible after a certain skill?

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!
it looks like you'd be able to use
Code:
$gameSystem.addHpGaugeEnemy(id)
to have the plugin show that enemy's hp bar. if you use yanfly's skill core or action sequences then you can try
Code:
$gameSystem.addHpGaugeEnemy(target.enemyId())
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
so theres an exact version you can use
it looks like you'd be able to use
Code:
$gameSystem.addHpGaugeEnemy(id)
to have the plugin show that enemy's hp bar. if you use yanfly's skill core or action sequences then you can try
Code:
$gameSystem.addHpGaugeEnemy(target.enemyId())
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
so theres an exact version you can use
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?
From what I can see, there's no way to make the skill the only way to see the enemy's HP 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);
instead of
Code:
$gameSystem.addHpGaugeEnemy(this._enemyId);
and turn on the parameter to to make defeating an enemy show the bar
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);
instead of
Code:
$gameSystem.addHpGaugeEnemy(this._enemyId);
and turn on the parameter to to make defeating an enemy show the bar
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/