Thread Tools Display Modes
08-29-06, 06:49 AM   #1
Zax
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: Aug 2006
Posts: 147
[LUA] Who is looting?

Hello,

I would like to know who is looting in raid/party and I tried to trap "CHAT_MSG_LOOT" event. It works fine for "basic" loot but it's not sent when a loot need a roll.

I looked at the wowwiki loot events list but didn't find the right event (I need to know the player who "started" the loot event).

Any idea of an event or hook?

Thanks in advance.
  Reply With Quote
08-31-06, 08:11 PM   #2
Crepusculu
A Deviate Faerie Dragon
 
Crepusculu's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2006
Posts: 16
The event fired is LOOT_OPENED, however it only applies to yourself.

UNIT_FLAGS will trigger with arg1 for people that loot, however this event triggers for multiple actions


You could try to watch for all UNIT_FLAG events and use the last recorded one as the roll frame pops up
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » [LUA] Who is looting?


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off