WoW:API GetQuestItemLink: Difference between revisions
Jump to navigation
Jump to search
GetQuestItemLink -Documentation by Ledoc-
Last updated: Patch 1.6.1
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
Returns | <center>'''GetQuestItemLink''' ''-Documentation by [[user:Ledoc|Ledoc]]-''</center> | ||
Returns link to the quest item. | |||
GetQuestItemLink(type, | itemLink = GetQuestItemLink("type", index); | ||
- | == Parameters == | ||
; | === Arguments === | ||
:(String "type", Integer index) | |||
:;type : String - "required", "reward" or "choice" | |||
:;index : Integer - Quest reward item index. | |||
: | === Returns === | ||
;''Returns'' | |||
:itemLink | |||
:; | :;itemLink : String - The link to the quest item specified. | ||
== Example == | |||
local link = GetQuestItemLink("choice", 1); | |||
local link = GetQuestItemLink( | |||
====Result==== | |||
item:12345:0:0:0 | |||
<br><center><i>Last updated: Patch 1.6.1</i></center> | |||
---- | |||
__NOTOC__ | |||
{{Template:WoW API}} | {{Template:WoW API}} | ||
[[Category:API Item Functions|GetQuestItemLink]] |
Revision as of 17:49, 19 August 2005
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
- Returns
- itemLink
- itemLink
- String - The link to the quest item specified.
Example
local link = GetQuestItemLink("choice", 1);
Result
item:12345:0:0:0