VTS Enemy HP Bars Addon - Enemy Selection

VTS Enemy HP Bars addon - Enemy Selection 1.07
by Roninator2​

Introduction
An addon to make the enemy hp bars only show up if the enemy is selected in the enemy battle window

Features
- Plug & play

How to Use
Put below VTS Enemy HP Bars script

Images
Spoiler: image
1609702450579.png
Script
Spoiler: script
Credit and Thanks
- Ventwig
- Roninator2


Terms of use
Follow the original Authors terms of use where applicable
- When not made by me (Roninator2)
Free for all uses in RPG Maker except nudity
Anyone using this script in their project before these terms
were changed are allowed to use this script even if it conflicts
with these new terms. New terms effective 03 Apr 2024
No part of this code can be used with AI programs or tools
Credit must be given
Thank you so much for this. I love this community.
Idk why but my game gets a lot of lag during the attack animation after i installed the add-on. I use Yami's Battle Symphony script.

EDIT: I found what i was doing wrong. The lag was due to a poor positioning of the script order. Ventwig's scripts and this add-on needs to be above Yami's Battle Symphony i guess.

But i found another problem - only the first target's HP shows when using a skill that targets all the enemy troops. I think it would be better if, when targeting all the enemies, all the HP bars are shown.
all the HP bars are shown.
That's probably possible, haven't gotten that far in the testing yet. Thanks
@athosfranco New script added. Let me know if it works for you.

Original thread: https://forums.rpgmakerweb.com/threads/vts-enemy-hp-bars-addon-enemy-selection.131775/