#===============================================================================
# ☆ Introduction
#——————————————————————————-
# A Simple Script to show Enemy Hp Gauges in battle, some customizable options
# such as color, height, width.
#
# May also show for actors depending on your battle system 🙂
#
LINK
It would be possible to activate with a switch?
Yes, its possible.
Simply change the method at line 205 to the one below:
def initialize(viewport, battler = nil)
init_simple_gauge(viewport, battler)
if $game_switches[ SWITCH_ID ]
@gauge = NME_HUD_Basic.new(viewport, battler) if @battler
end
end
Then replace SWITCH_ID with the id of your chosen switch 🙂
=)
Does not work during the battle.
The bar only appears if the switch is activated before the battle.
There is solution for this?
The gauge would have to be reinitialized during the battle somehow.
Would it be possible to make it so that the gauge only shows if you’ve fought the enemy before?
Yes, but i wouldnt be adding that feature im afriad. Your best bet would be to use a ‘monster book’ type script that accommodates checking for each enemy killed and then combining the two so that the hp script reads data from the monster book to determine whether to show the gauge or not. 🙂
You scripting video is seriously inspirational. Learned allot.
Thanks. 🙂
I do plan to do some more eventually. 😀