Thread Tools Display Modes
06-17-06, 03:41 AM   #1
Treolorn
A Murloc Raider
Join Date: Dec 2005
Posts: 4
plz help with SetBagItem()

i have a code:
Code:
for container=0, 4, 1 do
    for slot=1, GetContainerNumSlots( container ), 1 do
        local texture = GetContainerItemInfo( container, slot );
        if( texture ) then
            MyTemp_Tooltip:ClearLines();
            MyTemp_Tooltip:SetBagItem( container, slot );
            ItemName = MyTemp_TooltipTextLeft1:GetText();
            if ItemName then
                Temp_Message( ItemName ); -- display message in chat frame
            end;
        end;
    end;
end;
when im start gaming all ok. I have a message with 'ItemName'. But sometime i dont get message, before i type "/script ReloadUI();"
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » plz help with SetBagItem()


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