Quite frustrated! Please help quickly :/
![digleto](http://forums.gamesalad.com/applications/dashboard/design/images/defaulticon.png)
I am making a store. And this is really simple and I am making it so that there are two self attributes on the buy button. First it displays the price, and the two attributes are multiplier, and cost.
The buying of everything works fine, but I just cant get the cost value to change.
I have a constrain
self.cost to self.multiplier(2)
and then when you buy it the multiplier goes up and so you can keep buying more of the upgrade. The darn thing just wont change in cost. Anyone can give me some insight on what I am messing up on would be greatly appreciated
edit: the only way to get the cost to change is if i actually change the attribute.
The buying of everything works fine, but I just cant get the cost value to change.
I have a constrain
self.cost to self.multiplier(2)
and then when you buy it the multiplier goes up and so you can keep buying more of the upgrade. The darn thing just wont change in cost. Anyone can give me some insight on what I am messing up on would be greatly appreciated
![:) :)](http://forums.gamesalad.com/plugins/emojiextender/emoji/twitter/smile.png)
edit: the only way to get the cost to change is if i actually change the attribute.
Comments
Thank you both for the quick response!