Thread Rating:
  • 3 Vote(s) - 3.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GUI - Label Width and displaying Label + Figure. item.count function
#5
To expand drewlt's answer:

Code:
local total = 0
local inv = Inventory("itemid="..fishID)
if (inv) then
  for k,item in pairs(inv) do
    total = total + item.count
  end
  d("------------"..fishName..": "..total)
  fishmanager.fishNamelabel = fishName
  fishmanager.fishCount = tostring(total)
end

I think that's pretty close to what you're looking for.
Reply
 


Messages In This Thread
RE: GUI - Some Progress made. - by Digitalrecline - 01-14-2015, 10:58 AM
RE: GUI - Label Width and displaying Label + Figure. item.count function - by tadeus - 01-16-2015, 10:47 PM
Cheers - by Digitalrecline - 01-20-2015, 12:10 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)

We help you win the game.

FFXIV Bot and More.

 

Products