Events/Instance
From WoWWiki
| |||||||||||||||||||||
|
Instance related events |
"INSTANCE_BOOT_START"
| Category: Instance |
|
Fired when the countdown to boot a player from an instance starts.
|
"INSTANCE_BOOT_STOP"
| Category: Instance |
|
Fired when the countdown to boot a player from an instance stops.
|
"MEETINGSTONE_CHANGED"
| Category: Party,Instance |
|
|
"PLAYER_ENTERING_WORLD"
| Category: System,Instance |
|
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).
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
|
"UPDATE_INSTANCE_INFO"
| Category: Instance |
|
Fired when data from RequestRaidInfo() is available |
