Please select what you are reporting on:
Creative
What Type of Bug are you experiencing?
Verse
Summary
When calling SetHealth() on a custom NPC Character (not sure if this is the case on ALL characters), the Healthbar widget doesn’t register the change. I have a workaroudn now that I do 1 dmg after calling SetHealth() which “fixes it”, but obviously not ideal.
Steps to Reproduce
- Create custom NPC
- Place NPC in level on the opposite team of the player
- Write a verse device that slowly heals the NPC over time with “SetHealth(Character.GetHealth() + X)”. Place it in the level
- Play the level and damage the NPC
- Observe that the UI only updates when you damage the NPC and not when you call SetHealth()
Expected Result
The UI should update when calling SetHealth().
Alternatively we should get a loigc function argument to indicate if we want to broadcast the change
Observed Result
The UI doesn’t update
Platform(s)
PC
1 post - 1 participant