Thread Tools Display Modes
04/24/14, 09:13 PM   #1
cyberjax99
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 2
Equipped Item Data for Tooltip

Does anyone know how to get the item data in the OnUpdate Handler for equipped items? I am getting the control from moc()..but moc().dataEntry is empty for equipped item tooltip controls.
  Reply With Quote
04/24/14, 09:52 PM   #2
cyberjax99
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 2
So to answer my own question...lol.

If you want to get item information for equipped items using the control from moc() you can just use

local mouseOverControl = moc();
local itemInfo = {GetItemInfo(mouseOverControl.bagId, mouseOverControl.itemIndex)};

On a very related note, zgoo is awesome and I wish I'd been using it 4 hours ago!
  Reply With Quote

ESOUI » Developer Discussions » Lua/XML Help » Equipped Item Data for Tooltip


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