AddOn Stud… Editing (section) World of Warcraft API 0 You are not logged in. The rich text editor does not work with JavaScript switched off. Please either enable it in your browser options, or visit your preferences to switch to the old MediaWiki editor === 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|GetGreetingText}}() :{{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|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|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) :{{id|API|GetDailyQuestsCompleted}} - Return the current number of daily quests completed today. :{{id|API|GetMaxDailyQuests}} - Returns the maximum number of daily quests completable in one day. :{{id|API|GetQuestResetTime}} - Returns number of seconds until quest reset. :{{id|API|WatchFrame_Update}} - Updates the watch frame display. :{{id|API|QueryQuestsCompleted}}() - Query list of completed quests. (added 3.3.0) :{{id|API|GetQuestsCompleted}}([table]) - Returns list of completed quests. only available after QUEST_QUERY_COMPLETE event. (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) Loading editor Below are some commonly used wiki markup codes. Simply click on what you want to use and it will appear in the edit box above. Insert: – — … ° ≈ ≠ ≤ ≥ ± − × ÷ ← → · § Sign your username: ~~~~ Wiki markup: {{}} | [] [[]] [[Category:]] #REDIRECT [[]] <s></s> <sup></sup> <sub></sub> <code></code> <blockquote></blockquote> <ref></ref> {{Reflist}} <references/> <includeonly></includeonly> <noinclude></noinclude> {{DEFAULTSORT:}} <nowiki></nowiki> <!-- --> <span class="plainlinks"></span> Symbols: ~ | ¡ ¿ † ‡ ↔ ↑ ↓ • ¶ # ¹ ² ³ ½ ⅓ ⅔ ¼ ¾ ⅛ ⅜ ⅝ ⅞ ∞ ‘ “ ’ ” «» ¤ ₳ ฿ ₵ ¢ ₡ ₢ $ ₫ ₯ € ₠ ₣ ƒ ₴ ₭ ₤ ℳ ₥ ₦ № ₧ ₰ £ ៛ ₨ ₪ ৳ ₮ ₩ ¥ ♠ ♣ ♥ ♦ View this template This field is a spam trap. DO NOT fill it in! Edit summary Preview Mobile Desktop Show changes