Listed as NUI - Entity Health Bar
Adds health, damage and an overhead health bar to any entity
TO USE:
-
Add the entityHealthController script to the entity you want to add health to
-
Tick “damageEnabled” on the entity (otherwise it will be invincible)
-
Drag the “entityHealth” locator template onto your entity to add it as a child, and move it above the entity or where ever you want the bar to display:
-
Use the dropdown on the entity’s “healthBar” property to select the “entityHealth” locator you just added
OPTIONAL:
- Adjust the “size” properties of the “entityHealth” widget to change the bar size: