WoW:API GetQuestLink: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Initial creation)
 
m (it's actually the quest id, not the quest(log) index)
Line 1: Line 1:
{{wowapi}}
{{wowapi}}
  [[QuestLink]] = GetQuestLink(index)
  [[QuestLink]] = GetQuestLink(questid)


== Arguments ==
== Arguments ==
;index : Table - Integer - Quest index (starts with 1).
;questid: Table - Integer - Quest ID (starts with 1).


== Returns ==
== Returns ==
;[[QuestLink]] : String - The link to the quest specified
;[[QuestLink]] : String - The link to the quest specified
:or nil, if the type and/or index is invalid or there is no active quest at the moment.
:or nil, if the type and/or id is invalid or there is no active quest at the moment.

Revision as of 00:35, 6 January 2009

WoW API < GetQuestLink

QuestLink = GetQuestLink(questid)

Arguments

questid
Table - Integer - Quest ID (starts with 1).

Returns

QuestLink
String - The link to the quest specified
or nil, if the type and/or id is invalid or there is no active quest at the moment.