WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Lua/XML Help (https://www.wowinterface.com/forums/forumdisplay.php?f=16)
-   -   Loot Window (https://www.wowinterface.com/forums/showthread.php?t=725)

Inokis 05-04-05 08:48 PM

Loot Window
 
Can someone please explain to me why this won't work in the loot window? It keeps picking up stuff from a bag after autolooting the item in the lootframe.
if ( button == "LeftButton" ) then
PickupContainerItem(this:GetID(), this.slot);

I've also tried:
if ( button == "LeftButton" ) then
PickupContainerItem(this:GetParent():GetID(), this:GetID());

the Loot Window seems to have some independent behavior, perhaps hardcoded into the client?

greycap 06-10-05 05:04 AM

the function youre looking for is LootSlot(slotnum).

unfortunately, it has been disabled.


All times are GMT -6. The time now is 06:55 AM.

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