WoW API: IsFlyableArea

From AddOn Studio
Revision as of 09:37, 9 March 2010 by WoWWiki>Starlightblunder (header levels)
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()

Returns

canFly
1 if the area is classified as flyable, nil otherwise.

Details

  • 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).