WoW:API IsFlyableArea: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
Line 14: Line 14:
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]].


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

Revision as of 19:59, 18 February 2009

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.