WoW:API SelectGossipActiveQuest: Difference between revisions

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


==Parameters==
==Arguments==
===Arguments===
;index : Number - Index of the active quest to select, from 1 to {{api|GetNumGossipActiveQuests}}(); order corresponds to the order of return values from {{api|GetGossipActiveQuests}}().
 
:;index : Number - Specifies the quest corresponding to the numbers of [[API_GetGossipActiveQuests|GetGossipActiveQuests()]], indexed starting at 1.
 
=== Returns ===
Nothing.
 
==Example==
SelectGossipActiveQuest(1)


----
== Triggers events ==
{{WoW API}}
* {{api|t=e|QUEST_PROGRESS}} is fired when the details of the quest are available.
__NOTOC__

Latest revision as of 04:47, 15 August 2023

WoW API < SelectGossipActiveQuest

Selects an active quest from a gossip list.

SelectGossipActiveQuest(index)

Arguments[edit]

index
Number - Index of the active quest to select, from 1 to GetNumGossipActiveQuests(); order corresponds to the order of return values from GetGossipActiveQuests().

Triggers events[edit]