WoW:API SelectGossipAvailableQuest: Difference between revisions

→‎Arguments: args description
mNo edit summary
(→‎Arguments: args description)
Line 1: Line 1:
{{wowapi}}
{{wowapi}}
 
Selects an available quest from a gossip list.
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.
 
  SelectGossipAvailableQuest(index)
  SelectGossipAvailableQuest(index)


==Paremeters==
==Arguments==
===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}}().
 
:;index : Number - Specifies the quest corresponding to the numbers of [[API_GetGossipAvailableQuests|GetGossipAvailableQuests()]], indexed starting at 1.
 
===Returns===
Nothing.


==Example==
== Triggers events ==
SelectGossipAvailableQuest(1)__NOTOC__
* {{api|t=e|QUEST_PROGRESS}} is fired when the details of the quest are available.