Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
WoW
Talk
English
Views
Read
Edit
History
More
Search
Navigation
Home
Random page
Help using wiki
Editions
for WoW
for WildStar
for Solar2D
Documentation
for WoW
for WildStar
Reference
WoW
⦁ FrameXML
⦁ AddOns
⦁ API
⦁ WoW Lua
WildStar
⦁ AddOns
⦁ API
⦁ WildStar Lua
Engine
Tools
What links here
Related changes
Special pages
Page information
Site
Recent Changes
Editing
WoW:World of Warcraft API
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Quest === See also the [[#Gossip]] section. :{{id|API|AbandonQuest}} - Abandon the specified quest. :{{id|API|AcceptQuest}} - Accept the specified quest. :{{id|API|AddQuestWatch}}(questIndex[, watchTime]) - Add a quest to the watch list. :{{id|API|AddWorldQuestWatch}}(questId) - Add a world quest to the watch list. :{{id|API|CloseQuest}} :{{id|API|CollapseQuestHeader}} - Collapses a quest header. :{{id|API|CompleteQuest}} - Complete the specified quest. :{{id|API|ConfirmAcceptQuest}} - Accept an escort quest being started by a player nearby. :{{id|API|DeclineQuest}} - Declines the currently offered quest. :{{id|API|ExpandQuestHeader}} - Expands a quest header. :{{id|API|GetAbandonQuestName}} - Gets the name of a quest while it is being abandoned. :{{id|API|GetActiveLevel}}(index) - Gets the level of an active quest (only available after QUEST_GREETING event). :{{id|API|GetActiveTitle}}(index) - Gets the title of an active quest (only available after QUEST_GREETING event). :{{id|API|GetAvailableLevel}}(index) - Gets the level of an available quest (only available after QUEST_GREETING event). :{{id|API|GetAvailableTitle}}(index) - Gets the title of an available quest (only available after QUEST_GREETING event). :{{id|API|GetAvailableQuestInfo}}(index) - Returns metadata (quest type) about an available quest. (added 3.3.3) :{{id|API|GetDailyQuestsCompleted}} - Return the current number of daily quests completed today. :{{id|API|GetGreetingText}}() :{{id|API|GetMaxDailyQuests}} - Returns the maximum number of daily quests completable in one day. :{{id|API|GetNumActiveQuests}} - Gets the number of currently active quests from this NPC (only available after QUEST_GREETING event). :{{id|API|GetNumAvailableQuests}} - Gets the number of currently available quests from this NPC (only available after QUEST_GREETING event). :{{id|API|GetNumQuestChoices}} - Returns the number of rewards available for choice for quest currently in gossip window. :{{id|API|GetNumQuestItems}} - Returns the number of items necessary to complete a particular quest. :{{id|API|GetNumQuestLeaderBoards}}([questIndex]) - Returns the number of available quest objectives. :{{id|API|GetNumQuestLogChoices}} - Returns the number of options someone has when getting a quest item. :{{id|API|GetNumQuestLogEntries}} - Returns the number of entries in the quest log. :{{id|API|GetNumQuestLogRewards}} - Returns the count of the rewards for a particular quest. :{{id|API|GetNumQuestRewards}} - Returns number of reward items (those that you always get) for quest currently in gossip window. :{{id|API|GetNumQuestWatches}}() - Returns the number of quest watches active. :{{id|API|GetObjectiveText}}() - Gets the objective of the current quest. :{{id|API|GetProgressText}}() - Returns quest progress text, displayed by the NPC before the player pressed "Continue". :{{id|API|GetQuestBackgroundMaterial}} - Returns the material string associated with the particular quest. :{{id|API|GetQuestsCompleted}}([table]) - Returns list of completed quests. only available after QUEST_QUERY_COMPLETE event. (added 3.3.0) :{{id|API|GetQuestGreenRange}}() - Return for how many levels below you quests and mobs remain "green" (i.e. yield xp) :{{id|API|GetQuestIndexForTimer}} :{{id|API|GetQuestIndexForWatch}}(watchIndx) - Return the quest index for the specified watch :{{id|API|GetQuestItemInfo}} - Returns basic information about the reward/choice/required item for quest currently in gossip window. :{{id|API|GetQuestItemLink}} - Returns an [[itemLink]] for a selected quest reward/choice/required item for quest currently in gossip window. :{{id|API|GetQuestLink}}(index) - Returns a [[QuestLink]] for a quest :{{id|API|GetQuestLogChoiceInfo}} - Returns a bunch of data about a quest reward choice from the quest log. :{{id|API|GetQuestLogGroupNum}}() - Returns suggested number of players for quest selected currently in log or 0 if there's no suggestion. :{{id|API|GetQuestLogItemLink}} - Returns item link for selected quest reward/choice/required item from quest log. :{{id|API|GetQuestLogLeaderBoard}}(ldrIndex[, questIndex]) - Gets information about the objectives for a quest. :{{id|API|GetQuestLogPushable}} - Returns true if the currently loaded quest in the quest window can be shared. :{{id|API|GetQuestLogQuestText}} - Returns the description and objectives required for the specified quest. :{{id|API|GetQuestLogRequiredMoney}} - Returns amount of money required for quest completion from quest log. :{{id|API|GetQuestLogRewardInfo}} - Returns a pile of reward item info from the quest log. :{{id|API|GetQuestLogRewardMoney}} - Returns a number representing the amount of copper returned by a particular quest. :{{id|API|GetQuestLogRewardSpell}} - Returns name and texture of spell awarded for quest completion from quest log. :{{id|API|GetQuestLogRewardTalents}} - Returns number of talents awarded for quest completion from quest log. :{{id|API|GetQuestLogRewardXP}} - Returns the amount of experience awarded by a particular quest. :{{id|API|GetQuestLogSelection}} - Returns a number associated with the QuestLogSelection index. :{{id|API|GetQuestLogTimeLeft}} - Returns the seconds remaining on the current quest timer. :{{id|API|GetQuestLogTitle}}(index) - Returns verbose data about a particular quest log entry: level requirement, tag, suggested group, completed status, etc. :{{id|API|GetQuestMoneyToGet}} - Returns amount of money required for quest currently displayed in gossip. :{{id|API|GetQuestResetTime}} - Returns number of seconds until quest reset. :{{id|API|GetQuestReward}}(rewardIndex) - Completes the quest with the specified quest reward. :{{id|API|GetQuestText}} - Gets the description of the current quest. :{{id|API|GetQuestTimers}} - Returns all of the quest timers currently in progress. :{{id|API|GetRewardArenaPoints}}() - Returns the amount of arena points awarded by the currently displayed quest. :{{id|API|GetRewardHonor}}() - Returns the amount of honor points awarded by the currently displayed quest. :{{id|API|GetRewardMoney}}() - Returns a amount of copper rewarded for completion of quest displayed in gossip. :{{id|API|GetRewardSpell}}() - Returns name and texture of spell awarded for quest completion for quest currently in gossip window. :{{id|API|GetRewardTalents}}() - Returns number of talents awarded for quest completion for quest currently in gossip window. :{{id|API|GetRewardText}}() - Returns quest reward text, displayed by the NPC before the player hits "Complete Quest". :{{id|API|GetRewardTitle}}() - Returns the title awarded by the currently displayed quest. :{{id|API|GetRewardXP}}() - Returns the amount of experience awarded by the currently displayed text. :{{id|API|GetTitleText}} - Retrieves the title of the quest while talking to the NPC about it. :{{id|API|IsCurrentQuestFailed}} :{{id|API|IsQuestCompletable}} - Returns true if a quest is possible to complete. :{{id|API|IsQuestWatched}}(questIndex) - Determine if the specified quest is watched. :{{id|API|IsWorldQuestWatched}}(questId) - Determine if the specified world quest is watched. :{{id|API|IsUnitOnQuest}}(questIndex, "[[unitId|unit]]") - Determine if the specified unit is on the given quest. :{{id|API|QuestChooseRewardError}} - Throws an error when the quest choose reward method doesn't work. :{{id|API|QuestFlagsPVP}}() - Determine if the quest will flag you you for PvP when accepted. :{{id|API|QuestGetAutoAccept}}() - Returns whether the last-offered quest was automatically accepted. (added 3.3.0) :{{id|API|QuestLogPushQuest}} - Initiates the sharing of the currently viewed quest in the quest log. :{{id|API|RemoveQuestWatch}}(questIndex) - Removes a quest watch by questIndex. :{{id|API|RemoveWorldQuestWatch}}(questId) - Removes a world quest watch by questId. :{{id|API|SelectActiveQuest}} - Selects an active quest from the NPC. only available after QUEST_GREETING event. :{{id|API|SelectAvailableQuest}} - Selects an available quest from the NPC. only available after QUEST_GREETING event. :{{id|API|SelectQuestLogEntry}} - Sets the selected quest, required for most GetQuest functions. :{{id|API|SetAbandonQuest}} - Called before [[#AbandonQuest]](). :{{id|API|ShiftQuestWatches}}(id1, id2) - Exchanges the order of two watched quests. (added 3.3.3) :{{id|API|SortQuestWatches}}() - Sorts the watched quests according to proximity and returns whether the order changed since last sorting. (added 3.3.3) :UI {{id|API|ToggleQuestLog}}() - Returns whether the offered quest is a weekly quest. (added 6.0.2) :{{id|API|WatchFrame_Update}} - Updates the watch frame display. :{{id|API|QueryQuestsCompleted}}() - Query list of completed quests. (added 3.3.0) :{{id|API|QuestIsDaily}}() - Returns whether the offered quest is a daily quest. (added 3.3.3) :{{id|API|QuestIsWeekly}}() - Returns whether the offered quest is a weekly quest. (added 3.3.3)
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)