Jump to content
New account registrations are disabed. This website is now an archive. Read more here.
  • 0
dolarmak

Displaying Item Quantity in Main menu

Question

Okay, as my previous topic said want to make a window which displays the current ammo the characters carry. every ammo type is an Item, so I figure there must be a way to call that item's quantity to display it.

 

After looking like crazy I can't find any way which will let me call up the quantity of each Ammo item that they have. All i need it to display is the quantity, the actual names I have listed with text strings.

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

MobiusXVI on RPGMakerweb.com helped me out. I had it mostly right, but a small error prevented me from doing it. Anyway this is how it's done if any one needs it.

number = $game_party.item_number(item.id)
self.contents.draw_text(x, y, width, height, number.to_s, 2)

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...