WoW:API IsFlyableArea: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 9: | Line 9: | ||
=== Returns === | === Returns === | ||
1 if the area is classified as flyable, nil otherwise | :;canFly: 1 if the area is classified as flyable, nil otherwise | ||
=== Details === | === Details === | ||
All non-instance locations within the [[Outland]] and [[Northrend]] continents are classified as "flyable" with the exception of the stairs area of [[Krasus' Landing]] in [[Dalaran]]. | All non-instance locations within the [[Outland]] and [[Northrend]] continents are classified as "flyable" with the exception of the stairs area of [[Krasus' Landing]] in [[Dalaran]]. | ||
As of patch 3.2, this function works properly, returning nil in non-flyable areas of Dalaran and when flying is prohibited in Wintergrasp (during battle I believe) |
Revision as of 15:40, 13 August 2009
← WoW API < IsFlyableArea
Checks whether the player's current location is classified as being a flyable area.
canFly = IsFlyableArea()
Arguments
none
Returns
- canFly
- 1 if the area is classified as flyable, nil otherwise
Details
All non-instance locations within the Outland and Northrend continents are classified as "flyable" with the exception of the stairs area of Krasus' Landing in Dalaran.
As of patch 3.2, this function works properly, returning nil in non-flyable areas of Dalaran and when flying is prohibited in Wintergrasp (during battle I believe)