I followed the UMG tutorial about scripting and displaying player conditions and I encountered an error where the UI meters wouldn’t change their size. Here are the screenshots:
Hello,
You may have not set your variable “mycharacter”. Try to do a “get player character” / “cast to (name of your character blueprint)” and use this output instead of your reference.
I haven’t played around with UMG too much but I remember from Tesla’s stream that the value has to be in percent (from 0 to 1) and your stamina is probably from 0 to 100? Just divide it by 100 before returning it in the Graph Function and it should work.
If your stamina goes down but not up back, Have you check that your “is sprinting” goes back to false after a run ? Maybe it stays “true” and you can’t regen.
Edit : If you add print string before both “set current stamina” with different text, you’ll see it.