WoW:API GetQuestItemLink: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (Robot: converting/fixing HTML)
m (fixed incorrect result string)
Line 3: Line 3:
Returns link to the quest item.
Returns link to the quest item.


  itemLink = GetQuestItemLink("type", index);
  [[itemLink]] = GetQuestItemLink("type", index);


== Parameters ==
== Parameters ==
Line 13: Line 13:


=== Returns ===
=== Returns ===
;''Returns''
:;[[itemLink]] : String - The link to the quest item specified.
:itemLink
 
:;itemLink : String - The link to the quest item specified.


== Example ==
== Example ==
Line 22: Line 19:


====Result====
====Result====
  item:12345:0:0:0
  |cff9d9d9d|Hitem:7073:0:0:0:0:0:0:0|h[Broken Fang]|h|r


<br><center>''Last updated: Patch 1.6.1''</center>
<br><center>''Last updated: Patch 1.6.1''</center>

Revision as of 16:49, 12 April 2007

WoW API < GetQuestItemLink

GetQuestItemLink -Documentation by Ledoc-

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