WoW:API GetGossipActiveQuests: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(upgraded deprecated template)
m (Move page script moved page API GetGossipActiveQuests to API GetGossipActiveQuests without leaving a redirect)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{wowapi}}
{{wowapi}}
<center>'''GetGossipActiveQuests''' ''-Documentation by [[User:Gxam|Gxam]]-''</center>


Get the list of active quests from an NPC.
Get the list of active quests from an NPC.


  title1, level1, title2, level2 = GetGossipActiveQuests()
  title1, level1, isLowLevel1, isComplete1, title2, level2, isLowLevel2, isComplete2 = GetGossipActiveQuests()


== Parameters ==
== Parameters ==
Line 11: Line 10:


=== Returns ===
=== Returns ===
:title1, level1[, title2, level2, ...]
:title1, level1, isLowLevel1, isComplete1 [, title2, level2, isLowLevel2, isComplete2, ...]


:;title# : String - The name of the quest
:;title# : String - The name of the quest
:;level# : Number - The level of the quest
:;level# : Number - The level of the quest
:;isLowLevel# : 1 if the quest is low level, nil otherwise
:;isComplete# : 1 if the quest is complete, nil otherwise


==Details==
==Details==

Latest revision as of 04:45, 15 August 2023

WoW API < GetGossipActiveQuests

Get the list of active quests from an NPC.

title1, level1, isLowLevel1, isComplete1, title2, level2, isLowLevel2, isComplete2 = GetGossipActiveQuests()

Parameters[edit]

Arguments[edit]

None.

Returns[edit]

title1, level1, isLowLevel1, isComplete1 [, title2, level2, isLowLevel2, isComplete2, ...]
title#
String - The name of the quest
level#
Number - The level of the quest
isLowLevel#
1 if the quest is low level, nil otherwise
isComplete#
1 if the quest is complete, nil otherwise

Details[edit]

The active quests for an NPC are available after GOSSIP_SHOW has fired.