However, when you say the downside is
ill have to write it myself do you
mean in c++ or can it be fine in
blueprints? Is your image all that is
needed to simply update the text and
if so does that need to go in my actor
company or my player BP or does that
not matter?
This is 100% blueprints. And the function/custom event can be in the widget, unless you are going to do some really heavy lifting inside or are planning on having 1000s of them.
Then don’t call these forum the umg
but instead create the function to
push the values to the textblocks.
Yes, precisely. In you widget, create a function that takes a struct. When the properties of the actor change, call that widget’s function and provide the updated struct (it can be a bunch of separate vars, too - whatever is easier/more logical).
The aforementioned function breaks the struct apart and sets TextBlock’s text, formatting it as needed. It’s a really neat solution.