Events/Instance


 * Note 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.

Instance related events
?

Fired when the countdown to boot a player from an instance starts.

Fired when the countdown to boot a player from an instance stops.

?

?

Fired when quitting the game.

?

Fired when a random dungeon (picked by the Dungeon Finder) is completed. This event causes a window similar to the achievement alert to appear, with the details of your Dungeon Finder rewards.

When fired prompts the LFG UI to update the list of available LFG categories and objectives (i.e. new quests, zones, instances available to LFG). See API GetLFGTypes

?

?

?

Fired when a gossip option is used to initiate a Looking-for-Dungeon interaction.
 * arg1 : Number - index of the dungeon the NPC wants us to queue for (index to (id)).

Fired when someone decline or don't make a choice within time in the dungeon queue invite

Fired when a dungeon group was found and the dialog to accept or decline it appears

Fired when everyone in the dungeon queue accepted the invite

Fired when someone either accept or decline the dungeon queue invite

?

?

?

?

?

?

?

?

Fired when the player enters the world, enters/leaves an instance, or respawns at a graveyard. Also fires any other time the player sees a loading screen.

To check if the player is entering an instance, check GetPlayerMapPosition to see if both X and Y are zero.

Correction on the above comment: When PLAYER_ENTERING_WORLD fires, you'll notice that WORLD_MAP_UPDATE fires just before it. My instincts tell that leaving an instance puts the player in void space momentarily. So for the case that you are entering AND leaving an instance, GetPlayerMapPosition always returns the coordinates [0,0] and hence there is no way to determine using the event PLAYER_ENTERING_WORLD if the player is entering an instance or not. When leaving an instance the following events fire (ignoring party/raid events).


 * WORLD_MAP_UPDATE
 * PLAYER_ENTERING_WORLD
 * WORLD_MAP_UPDATE <--- Player coordinates are non-zero here

Instances do have coordinates for units once the second WORLD_MAP_UPDATE event has fired. For the case of entering a battleground such as WSG, WORLD_MAP_UPDATE won't fire until you leave Silverwing Hold or Warsong Lumber Mill and you are outside. --Salanex

?

Fired when data from RequestRaidInfo is available