WoW:Events/Quest

< Events
Revision as of 04:48, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page Events/Quest to Events/Quest without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Event API


"I" iconNote that this page is automatically generated; editing it is pointless. To edit event descriptions, edit the entries in the alphabetical pages, e.g. Events/A, Events/B, etc. Changes there will be copied over to here within a few hours.


Quest related events

"QUEST_ACCEPTED"
Category: Quest
 

This event fires whenever the player accepts a quest.

arg1
Quest log index. You may pass this to GetQuestLogTitle() for information about the accepted quest.


"QUEST_ACCEPT_CONFIRM"
Category: Quest
 

This event fires when an escort quest is started by another player. A dialog appears asking if the player also wants to start the quest.

arg1
Name of player who is starting escort quest.
arg2
Title of escort quest. Eg. "Protecting the Shipment"


"QUEST_COMPLETE"
Category: Quest
 

Fired after the player hits the "Continue" button in the quest-information page, before the "Complete Quest" button.

In other words it fires when you are given the option to complete a quest, but just before you actually complete the quest (as stated above).


"QUEST_TURNED_IN"
Category: {{{2}}}
 

Fired upon completion of a world quest, or turning in a quest with the "Complete Quest" button.

arg1
QuestID of quest turned in.
arg2
XP rewarded, 0 if max level.
arg3
Money rewarded in copper.


"QUEST_POI_UPDATE"
Category: Quest
 

Fired whenever Quest POIs change. For example after accepting an quest.


"QUEST_QUERY_COMPLETE"
Category: Quest
 

Fired when the data requested by QueryQuestsCompleted() is available.


"QUEST_DETAIL"
Category: Quest
 

Fired when the player is given a more detailed view of his quest.


"QUEST_FINISHED"
Category: Quest
 

Fired whenever the quest frame changes (Detail to Progress to Reward, etc.) or is closed.

arg1
mousebutton (LeftButton)


"QUEST_GREETING"
Category: Quest
 

Fired when talking to an NPC that offers or accepts more than one quest, i.e. has more than one active or available quest.


"QUEST_ITEM_UPDATE"
Category: Quest
 

Fired when the quest items are updated


"QUEST_LOG_UPDATE"
Category: Quest
 

This event is fired very often. This includes, but is not limited to: viewing a quest for the first time in a session in the Quest Log; (once for each quest?) every time the player changes zones across an instance boundary; every time the player picks up a non-grey item; every time after the player completes a quest goal, such as killing a mob for a quest. It also fires whenever the player (or addon using the CollapseQuestHeader or ExpandQuestHeader() functions) collapses or expands any zone header in the quest log.


"QUEST_PROGRESS"
Category: Quest
 

Fired when a player is talking to an NPC about the status of a quest and has not yet clicked the complete button.


"QUEST_WATCH_UPDATE"
Category: Quest
 

Fired just before a quest goal was completed. At this point the game client's quest data is not yet updated, but will be after a subsequent QUEST_LOG_UPDATE event.

arg1
questIndex (not watch index)


"UNIT_QUEST_LOG_CHANGED"
Category: Unit Info,Quest
 

Fired whenever the quest log changes. (Frequently, but not as frequently as QUEST_LOG_UPDATE)

arg1
unit name

Seen unit names:

  • player
  • party1