![]() |
Get Map ID after loading
Hello.
I'm trying to find out how to get the correct map ID after a loading screen (after using the hearthstone). Right now I'm trying with the next code: Code:
addon:RegisterEvent("PLAYER_ENTERING_WORLD") I cannot find which is the event that fires once the game is fully loaded (so GetCurrentMapAreaID returns the current map ID and not the previous) Thanks. |
Quote:
Pretty sure this is going to work for you to find which event has been fired as well as the variables. |
Use ZONE_CHANGED events in addition to PLAYER_ENTERING_WORLD:
- ZONE_CHANGED - ZONE_CHANGED_INDOORS - ZONE_CHANGED_NEW_AREA |
Thank you both.
I didn't know about the command eventtrace, very handy! I'm going to make some tests with those events sezz, and check what's going on with the trace. |
All times are GMT -6. The time now is 04:37 AM. |
vBulletin © 2021, Jelsoft Enterprises Ltd
© 2004 - 2020 MMOUI