Announcement

Collapse
No announcement yet.

How to Change Values from another Blueprint

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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.

    Click image for larger version

Name:	386a601dec466582a25e05030fff7c6c.png
Views:	1
Size:	168.9 KB
ID:	1180707

    Click image for larger version

Name:	c74aab596c37625066009dd9474592a4.png
Views:	1
Size:	65.8 KB
ID:	1180708

    #2
    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.

    Comment

    Working...
    X