WoW:API IsFlyableArea: Difference between revisions
Jump to navigation
Jump to search
m (header levels) |
(added info about this function not correctly working during wintergrasp battles) |
||
Line 8: | Line 8: | ||
== Details == | == 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). | * 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). | ||
* As of patch 3.3, this function returns 1 in Wintergrasp during battle, while you can't really use your flying mount. |
Revision as of 16:21, 9 March 2010
← 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).
- As of patch 3.3, this function returns 1 in Wintergrasp during battle, while you can't really use your flying mount.