Join The Fan Lab, a private Fandom research community for users in the US and UK where you will be asked to share your opinions on all things gaming and entertainment! Click here to see if you qualify

TaxiNodePosition

From Wowpedia
Jump to: navigation, search

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);