recheej
(recheej)
May 16, 2015, 4:40pm
1
Hello guys. I’m trying to go through the UMG UI Designer Tutorial here . I’m trying to bind the progress bar to my character’s health variable, but it’s not visible.
Here’s the code for my health variable:
UPROPERTY(BlueprintReadWrite, EditAnywhere)
int32 health;
I don’t think there’s any thing wrong there.
As you can see in the screenshot below, I cannot access the property that I exposed in my code. What am I doing wrong?
I think you must bind a float value to Percent, an integer value isn’t compatible.
recheej
(recheej)
May 16, 2015, 5:04pm
3
That was it. Thank you very much.
I’d recommend making a const function to get the health percentage, those can also be bound.
recheej
(recheej)
May 16, 2015, 10:27pm
5
Cool that is good to know. Appreciate the tip!
[Edit]
Btw is Epic hiring any new graduates? I just graduated and I am looking for full-time positions. You can PM me if you’d like.