Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
No edit summary
(New arguments added in patch 3.3.3)
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
  +
{{wowapi}}
{{API/Uncategorized}}
 
  +
  +
Get the list of active quests from an NPC.
  +
  +
title1, level1, isLowLevel1, isComplete1, title2, level2, isLowLevel2, isComplete2 = GetGossipActiveQuests()
  +
  +
== Parameters ==
  +
=== Arguments ===
  +
None.
  +
  +
=== Returns ===
  +
: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==
  +
The active quests for an NPC are available after [[Events D-G (Delete, Display, Duel, Equip, Execute, FriendList, Gossip, Guild)#GOSSIP_SHOW|GOSSIP_SHOW]] has fired.
  +
  +
----
  +
__NOTOC__

Revision as of 08:39, 26 March 2010

Get the list of active quests from an NPC.

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

Parameters

Arguments

None.

Returns

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

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