ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   General Authoring Discussion (https://www.esoui.com/forums/forumdisplay.php?f=174)
-   -   Determining Who Dropped What Item? (https://www.esoui.com/forums/showthread.php?t=2031)

zxmbies 07/28/14 03:32 PM

Determining Who Dropped What Item?
 
Anyone know of a way to do this?

Xrystal 07/28/14 04:20 PM

local function OnReceiveLoot(eventID, receivedBy, item, quantity, itemSound, lootType, self)
EVENT_MANAGER:RegisterForEvent(addonName,EVENT_LOOT_RECEIVED,OnReceiveLoot)

item if memory serves is actually a link, so with the link functions becoming available soon it might be enough to get what else you need otherwise...

local function OnSlotUpdate(eventID,bagID,slotID,isNew, itemSoundCategory, updateReason)
EVENT_MANAGER:RegisterForEvent(addonName,EVENT_INVENTORY_SINGLE_SLOT_UPDATE,OnSlotUpdate)

These two combined together will enable you to track basic info on what other people receive ( although I am sure that someone was getting OnSlotUpdate to report someone nearby's update, but I haven't seen this myself ), and more specific information on what the player receives.

CrazyDutchGuy 07/29/14 01:30 AM

At current state it is not possible. Afaik in the next patch it can't be done either.

Problem is with multiloot mainly and the item looted not mentioning what it is looted from.

Xrystal 07/29/14 04:16 PM

note to self, read question a bit more carefully ... read it as who received what dropped item not what dropped an item. My apologies.


All times are GMT -6. The time now is 02:27 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI