Script call to show/hide visual HP bars from Yanfly's script?

Hello everyone,


I am using Visual HP Gauges by Yanfly.


I have an enemy with this tag on it:


<Hide HP Gauge>


Under certain battle conditions I want the HP Gauge to appear.


What would the script call be?


I tried:


Game_System.showHpGaugeEnemy(5);




But no luck 🙂


Thanks in advance!
none - please read the instructions:


<Hide HP Gauge>
This HP gauge will always be hidden if this notetag is present.


"Always" means always, if Yanfly hasn't prepared for a dynamic change, then there is no way to dynamically change an option during game.


The only way to do it would be to write an add-on plugin that modifies the original plugin by giving it that option. But it isn't possible with a simple script call.
What is the .js file for this called. Its not VisualHPGauges.js What is it called?
thanks for your time
@masterlobo
Use $dataEnemies[ID].hideHpGauge = false in a script call.

@winkr7
It's YEP_X_VisualHpGauge.

Original thread: https://forums.rpgmakerweb.com/threads/script-call-to-show-hide-visual-hp-bars-from-yanflys-script.68052/