TaxiNodePosition

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 1.0.0 / 1.13.2

Returns the position of a flight point on the taxi map.

x,y = TaxiNodePosition(index)

Arguments

index

  • index of a flight point between 1 and NumTaxiNodes()

Returns

x

  • Horizontal coordinate of the taxi note (as a proportion of the taxi map's width; 0 = left edge, 1 = right edge)

y

  • Vertical coordinate of the taxi note (as a proportion of the taxi map's width; 0 = bottom edge, 1 = top edge)

Example
local x,y = TaxiNodePosition(1);