Get current continent name or id?
Hello,
I used to use API GetCurrentMapContinent() to get continent where player is, but it throws an error in patch 8. So what is now teh correct way to retrieve this info? Main goal is to know is cuurent zone is flyable *by the player*, depending its special abilities like "Fly in Draenor", etc. Thank you. |
Use IsFlyableArea()
|
IsFlyableArea() is an old API that wasn't accurate at all, even before WoD. Do you think it has been updated et fixed in patch 8?
|
For one of my addons I use this function. It does not return the "old" values. So you need to find the right values for your addon.
Lua Code:
|
Thank you, I'll try.
BTW, after a few tests, IsFlyableArea() seems more accurate then before patch 8. |
Solution
|
All times are GMT -6. The time now is 07:15 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI