Hi there…
I love GAS and i implemented around 50±5 Attributes in the system, my combat works… abilities are a dream
But there is one thing i can’t get to work efficient…
Showing Attribute values inside UMG.
So… my first thought, the reason for this topic, was to have a Text Widget and name it f.e. “Text_Attribute_HP”.
Now i get the Text Widget display name, replace “Text_Attribute_” with nothing and get an Attributes value based on the “HP” Text, so i can set the value as Text of the TextWidget.
i couldn’t find any Function that does that… But… Is there a way to receive an attributes value as easy as that idea?
Cause currently… my Switch on Enum Attributes… is hilariously long… and i need ro change everything when new attributes will be added… and if i need them to be shown in different widgets… i have all that stuff over and over again…
so… May one be so kindly to give me a direction, to get an attributes value as easy, Technically clean and manageable (and perhaps blueprint friendly) as possible, without needing to switchon an enum or a list or anything like that?
thanks in advance