WoW:API GetGossipActiveQuests: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
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, title2, level2, isLowLevel2 = GetGossipActiveQuests() | ||
== Parameters == | == Parameters == | ||
Line 10: | Line 10: | ||
=== Returns === | === Returns === | ||
:title1, level1[, title2, level2, ...] | :title1, level1, isLowLevel1[, title2, level2, isLowLevel2, ...] | ||
:;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 | |||
==Details== | ==Details== |
Revision as of 09:48, 14 January 2008
← WoW API < GetGossipActiveQuests
Get the list of active quests from an NPC.
title1, level1, isLowLevel1, title2, level2, isLowLevel2 = GetGossipActiveQuests()
Parameters
Arguments
None.
Returns
- title1, level1, isLowLevel1[, title2, level2, isLowLevel2, ...]
- title#
- String - The name of the quest
- level#
- Number - The level of the quest
- isLowLevel#
- 1 if the quest is low level, nil otherwise
Details
The active quests for an NPC are available after GOSSIP_SHOW has fired.