Thread Tools Display Modes
03-19-10, 02:32 AM   #1
alimjocox
A Warpwood Thunder Caller
AddOn Author - Click to view addons
Join Date: Oct 2009
Posts: 96
Linking items.

Code:
local function START_LOOT_ROLL(self, event, id)
	local texture, name, count, quality, bindOnPickUp, _, _, CanDisenchant = GetLootRollItemInfo(id)
	if IsInLFGDungeon() == true then
		RollOnLoot(id, CanDisenchant and 3 or 2);
		aMessage("Dungeon Loot Roll: "..ITEM_QUALITY_COLORS[quality].hex..name.."|r");
	end
end
I've mange to make it tell me the name and quality color of the item, but its not a link. can anyone help me on " Dungeon Loot Roll: [itemlink] " ?
  Reply With Quote
03-19-10, 03:23 AM   #2
nightcracker
A Molten Giant
 
nightcracker's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 716
Code:
local link = GetLootRollItemLink(id)
__________________
Three things are certain,
Death, taxes and site not found,
You, victim of one.
  Reply With Quote
03-19-10, 05:47 AM   #3
alimjocox
A Warpwood Thunder Caller
AddOn Author - Click to view addons
Join Date: Oct 2009
Posts: 96
Originally Posted by nightcracker View Post
Code:
local link = GetLootRollItemLink(id)
too easy nc thx alot.. i swear i searched high and low was just looking for the wrong words
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Linking items.


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