Reduce Coins amount when pruchase.

Discussion in 'How Can I...?' started by ehabsubahi, Jun 27, 2016.

  1. ehabsubahi

    ehabsubahi Boxer

    Joined:
    Oct 8, 2015
    Messages:
    17
    Likes Received:
    7
    We are working on BB 2

    The problem, When buying a character with in game coins the character price should be reduced from the over all coin amount. But the coins counter does not change.

    Current coin amount is acting like the total or best amount while the game keeps track of how much coins actually a player has and prevent them from buying characters if he doesn't have enough balance.

    The counter wont show the actual remaining amount of coins the player has
    Is it a Bug and how to solve it?


    Thanks,
    Ehab
     
  2. heathclose

    heathclose Miniboss Boxer

    Joined:
    Jan 28, 2016
    Messages:
    1,810
    Likes Received:
    1,024
    Use total, not current
     
  3. ehabsubahi

    ehabsubahi Boxer

    Joined:
    Oct 8, 2015
    Messages:
    17
    Likes Received:
    7
    Oh that's awesome! Thanks for the help.
     
    heathclose likes this.
  4. eyeshield2301

    eyeshield2301 Boxer

    Joined:
    Jul 8, 2016
    Messages:
    12
    Likes Received:
    0
    I'm having problems like you...Can you help me solve the problem????
     
  5. ehabsubahi

    ehabsubahi Boxer

    Joined:
    Oct 8, 2015
    Messages:
    17
    Likes Received:
    7
    @eyeshield2301 As @heathclose mentioned. Use Current for amount type.
    to walk you through:
    Use a label
    In the label properties
    Function : score
    World : All
    Score type: Coins
    Amount: Current.
    selecting current will update the amount so it change if you bought something.
     

Share This Page