Is it possible to get quantity number from/for EVENT_SINGLE_SLOT_UPDATE?
This event also fires when you loot an item. I am trying to move away from EVENT_LOOT_RECEIVED to this event, as it offers more flexibility and is easier to access some stuff. However, quantity number eludes me. Any way I can get the quantity numbers when you loot something, with this event?
|
Hmm,
I use both events but don't have access to my code while at work to see where I get the quantity from, not that I actually use it. I'll take a look when I get home tonight and will let you know where I get that value from. |
Quote:
Lua Code:
|
Garkin, doesn't that return the total sum of that item in your bag? I was asking for a way to get the "quantity looted" number, rather than the total quantity (just the change in other words), apologies if I got misunderstood (or you were giving me the correct answer, and I misunderstood :P)
Xrystal, thanks. I'd appreciate it. |
Quote:
|
Hmm, I understand.
|
Any reason you can't use both events? The loot one to get the quantity, then match it to the slot update one with a link for the rest of your processing
|
Quote:
I use 2 events for gathering and of course the interaction test in the onupdate function. EVENT_INVENTORY_SINGLE_SLOT_UPDATE - I use the slot update routine to get the item details received EVENT_LOOT_RECEIVED - I use loot received to track who received what item and how many |
HI
Any fix for this ? i have the same prb [edit] solved here : http://www.esoui.com/forums/showthre...4576#post34576 |
All times are GMT -6. The time now is 12:39 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI