Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
m (Reverted edit of Mexi-fry, changed back to last version by Muert)
mNo edit summary
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
  +
{{wowapi}}
<center>'''GetQuestItemLink''' ''-Documentation by [[user:Ledoc|Ledoc]]-''</center>
 
 
Returns link to the quest item.
 
Returns link to the quest item.
   
itemLink = GetQuestItemLink("type", index);
+
[[itemLink]] = GetQuestItemLink("type", index);
   
 
== Parameters ==
 
== Parameters ==
Line 12: Line 12:
   
 
=== Returns ===
 
=== Returns ===
 
:;[[itemLink]] : String - The link to the quest item specified.
;''Returns''
 
:itemLink
 
 
:;itemLink : String - The link to the quest item specified.
 
   
 
== Example ==
 
== Example ==
Line 21: Line 18:
   
 
====Result====
 
====Result====
  +
|cff9d9d9d|Hitem:7073:0:0:0:0:0:0:0|h[Broken Fang]|h|r
item:12345:0:0:0
 
 
<br><center><i>Last updated: Patch 1.6.1</i></center>
 
   
 
<br><center>''Last updated: Patch 1.6.1''</center>
----
 
{{WoW API}}
 

Revision as of 16:38, 4 December 2007

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