WoW:API SelectGossipAvailableQuest: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
m (Move page script moved page API SelectGossipAvailableQuest to API SelectGossipAvailableQuest without leaving a redirect)
 
(5 intermediate revisions by 5 users not shown)
Line 1: Line 1:
  <center>'''SelectGossipAvailableQuest''' ''-Documentation by [[User:Gxam|Gxam]]-''</center>
{{wowapi}}
Selects an available quest from a gossip list.
  SelectGossipAvailableQuest(index)


Selects an available quest from a gossip list.  When the details of the quest are available, [[Events_Q-R_(Quest,_Raid,_Replace,_Resurrect)#QUEST_PROGRESS|QUEST_PROGRESS]] is fired.
==Arguments==
;index : Number - Index of the available quest to select, from 1 to {{api|GetNumGossipAvailableQuests}}(); order corresponds to the order of return values from {{api|GetGossipAvailableQuests}}().


SelectGossipAavailableQuest(index)
== Triggers events ==
 
* {{api|t=e|QUEST_PROGRESS}} is fired when the details of the quest are available.
==Paremeters==
===Arguments===
 
:;index : Number - Specifies the quest corresponding to the numbers of [[API_GetGossipAvailableQuests|GetGossipAvailableQuests()]], indexed starting at 1.
 
===Returns===
Nothing.
 
==Example==
SelectGossipActiveQuest(1)
 
----
{{WoW API}}
__NOTOC__

Latest revision as of 04:47, 15 August 2023

WoW API < SelectGossipAvailableQuest

Selects an available quest from a gossip list.

SelectGossipAvailableQuest(index)

Arguments

index
Number - Index of the available quest to select, from 1 to GetNumGossipAvailableQuests(); order corresponds to the order of return values from GetGossipAvailableQuests().

Triggers events