Summary
I’m encountering a problem where my PlayerInfo HealthBar UI does not update properly when my Players upgrade their MaxHealth to over 100 in game
I’ve followed the UEFN Tutorial here: Custom UI: Player Info | Unreal Editor for Fortnite Documentation | Epic Developer Community
I feel the problem is due to the Material.Multiplier being set to 0.01 which assumes that the Player has 100 MaxHealth
However, I don’t see any way of setting the correct Material.Progress value using ViewBindings and HUDPlayerInfoViewModel which only returns the current player Health as a value and not a percentage
Is there another way of fixing the HealthBar UI to display the correct progress?
Because I observed that the TMNT Island’s HealthBar UI is working correctly
Please select what you are reporting on:
Creative
What Type of Bug are you experiencing?
Other
Steps to Reproduce
Follow the UEFN Tutorial on Custom UI: Player Info
Add a way to increase PlayerMaxHealth beyond 100
Take damage but make sure that Player Health is still 100 or over
Expected Result
HealthBarProgress should update correctly to reflect that player has taken damage
Observed Result
Observe that when player takes damage but is still over 100 Health, the HealthBar does not update
Platform(s)
All