GetInventoryItemLink
I have created a custom addon that could give me links to items in other player's inventories (particulary party members), but it seems to be somewhat disfunctional. The addon uses the API function GetInventoryItemLink("unit", slotId). While this function seems to work fine when the unit passed is "player", it does not seem to work when passing in unitIds such as "target", "party1", "party2", etc. It simply returns nil when using other unitIds. I realize this probably changed some time ago as it has been ages since I have worked this addon, but I wonder if anyone can point me to some updated information.
|