WoW:API IsFlyableArea: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (Move page script moved page API IsFlyableArea to API IsFlyableArea without leaving a redirect)
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{wowapi}} __NOTOC__
{{wowapi}}
 
Checks whether the player's current location is classified as being a flyable area.
Checks whether the player's current location is classified as being a flyable area.
  canFly = IsFlyableArea()
  canFly = IsFlyableArea()


== Returns ==
; canFly : 1 if the area is classified as flyable, nil otherwise.


=== Arguments ===
== Details ==
none
* 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.
=== 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.

Latest revision as of 04:46, 15 August 2023

WoW API < IsFlyableArea

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

canFly = IsFlyableArea()

Returns[edit]

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

Details[edit]

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