Download

How to Change Values from another Blueprint

I am currently making an app that has a button sort of like “cookie clicker” would. The button works fine. It adds $1 every time I click it.

My issue is that I have a separate menu; a shop in which I want to alter the values used to calculate how much this button gives you, and that whenever I try to change the variable from a foreign blueprint, it doesn’t seem to work. How would I fix this issue? I am uploading screenshots of both of the blueprints I am currently using, and if any further information is needed, just ask and I’ll try to help.

970f83ec6bd0cdbcc1ad2808b7a11ad9b6adf831.png

8079580f1a10e591fdf8fa9a942465794f997f73.png

Maybe move your money incrementer variable into your game mode or game instance bp and access it from there. When faced with situations like this, that’s what I’d do.