Forum rules - please read before posting.

Link item quantity to menu label/global variable

Hi! sorry to bother you again, but as we where recently talking about menus I had another question. Basically,in my pause menu I want to put a label that displays the amount of money the player is carrying, which I'll be adding as an item. The thing is I'm not quite sure how to get the quantity from the item and into the label... my first thought was to extract the value and put it into a global variable to feed the label... But I don't know how to get that value...

Anyway, as usual, any advice would be greatly appreciated.

Comments

  • See section 7.1 of the Manual.  Basically you want to have your label text as something like:

    Money: $[var:X], where X is the ID number of the global variable that stores your money.
  • Hey, thanks! and sorry. I totally forgot Tokens can be used in labels too!
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.