I Created a progress bar in UMG
And than i created a bind for it. i than made an actor variable and made it cast to my character blueprint i made wich holds the float i wanna use for my progress bar.
Everytime i hit the character with a line trace, it subtracts from the variable i made in my character blueprint.
But everytime i play the game, the progress bar isn’t reading the variable i made, it’s not working at all. However, when i use my Player blueprint (wich is the main character) it’s able to read from there via 'Get Player Character" and casting to the player blueprint. I Tried doing that with the character blueprint i made but it doesn’t work either.
SOMEONE PLEASE HELP ME! i have no idea what to do. All i want is the progress bar to read a variable from a character blueprint i made. Thank you.