WoW API: IsFlyableArea

From AddOn Studio
Jump to navigation Jump to search

WoW API < IsFlyableArea

Checks whether the player's current location is classified as being a flyable area.

canFly = IsFlyableArea()


Arguments

none

Returns

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.

Wintergrasp and Dalaran zones in Northrend are still classified as "flyable", even though flying there is prohibited.