WoW:API GetQuestItemLink: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (fixed incorrect result string)
mNo edit summary
Line 1: Line 1:
{{wowapi}}
{{wowapi}}
<center>'''GetQuestItemLink''' ''-Documentation by  [[user:Ledoc|Ledoc]]-''</center>
Returns link to the quest item.
Returns link to the quest item.



Revision as of 16:38, 4 December 2007

WoW API < GetQuestItemLink

Returns link to the quest item.

itemLink = GetQuestItemLink("type", index);

Parameters

Arguments

(String "type", Integer index)
type
String - "required", "reward" or "choice"
index
Integer - Quest reward item index.

Returns

itemLink
String - The link to the quest item specified.

Example

local link = GetQuestItemLink("choice", 1);

Result

|cff9d9d9d|Hitem:7073:0:0:0:0:0:0:0|h[Broken Fang]|h|r


Last updated: Patch 1.6.1