Download

UMG UI: Trying to change an integer value

I have a Widget set up to change taxes rate. In my player blueprint, I have the formulas for calculating the income before and after taxes are calculated. Now I want to use the buttons to change the value of the tax rate. I need to change the value in multiple locations. How can I achieve this?

here are the screen shots

Try, Get Player Pawn -> Cast to Pawn (Whatever your player pawn is actually named), pull off the blue node and set the tax rate variable.
Now you’ll need a variable in your UMG to set the tax rate on your pawn to.