Muert39620@legacy41559547 (talk | contribs) No edit summary |
Urbin60787@legacy41579754 (talk | contribs) (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
Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
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.