Harald wrote:
when [Item] clicked if <(coins) > [Cost of item]> Purchase itemYou can add this to all your purchaseable items. Hope it helps.
You could do it that way, but I would do this just to be sure:
when [Item] clicked if <(Coins) > (Item Cost)> change [Coins v] by (Item Cost) else say [You do not have enough money to purchase this item.] for [2] secs
Last edited by shivadas (2013-03-31 16:46:37)
Offline
shivadas wrote:
Harald wrote:
when [Item] clicked if <(coins) > [Cost of item]> Purchase itemYou can add this to all your purchaseable items. Hope it helps.You could do it that way, but I would do this just to be sure:
when [Item] clicked if <(Coins) > (Item Cost)> change [Coins v] by (Item Cost) else say [You do not have enough money to purchase this item.] for [2] secs
Make sure you use
change [Coins v] by (join [-] (Item Cost))Which makes it subtract.
Offline
mathfreak231 wrote:
shivadas wrote:
Harald wrote:
when [Item] clicked if <(coins) > [Cost of item]> Purchase itemYou can add this to all your purchaseable items. Hope it helps.You could do it that way, but I would do this just to be sure:
when [Item] clicked if <(Coins) > (Item Cost)> change [Coins v] by (Item Cost) else say [You do not have enough money to purchase this item.] for [2] secsMake sure you use
change [Coins v] by (join [-] (Item Cost))Which makes it subtract.
Sorry, I missed that
Offline