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?
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.