Can you please help me with updating my UI for coloring heart images according to player health?


I don’t know why the CastTo BP_PlayerCharacter doesn’t work.
the AI chatbot I’ve been consulting keeps giving me some weired info that doens’t work at all…

++
I’ve realized that the CastTo BP_PlayerCharacter is actually working, but the colors of the heart images do not change…

On further investigation, I found that the brach is not working. I’m trying to get to the bottom of this, but if anybody has an answer, please be kind to tell me.

On even further investigation, I found that not the branch, but the For Each Loop node completes right after running without doing what I intended it to do…

++

I’ve managed to figure this out myself, man, why do I keep figuring out things myself after posting a question? :slight_smile:

Hello friend. I can’t see nothing on your pictures. Can you increase it scaling?

I use health bar in my game. This video can be helpful:

Thanks for your help!
I’ve figured this out somehow. But the community is so awesome!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.