It all seems to be set up correctly.
You will need to call the Update Perk Points
function after onClicked. The variable is changing but the text widget does not know it yet.
It all seems to be set up correctly.
You will need to call the Update Perk Points
function after onClicked. The variable is changing but the text widget does not know it yet.
I have a UI widget with an integer for the number of perk points I currently have. When I press a button to “buy” a skill, I’d like for the perk point value to decrease by the cost of the skill. I manually set my character’s perk points to 2 for a test, and I set the perk cost to 1 but when I buy the skill the integer doesn’t update in real time
If you could post your solutions as a blueprint photo, I’d appreciate it as I’m still very new at UE4
In skill window UI BP
In skill window UI BP
In skill button BP
You need to call the update perk points function in your skill button BP after you set “Perk Points” to a new value, just like you do in your Event Construct.
You’re just not updating the text that’s all
Worked like a charm! Thank you