API TaxiGetSrcX

From Wowpedia
Jump to: navigation, search


Returns the horizontal position of the source node of a given route to the destination.

local sX = TaxiGetSrcX(destinationIndex, routeIndex)


Arguments

(destinationIndex, routeIndex)
destinationIndex 
Number - The final destination taxi node.
routeIndex 
Number - The index of the route to get the source from.


Returns

sX 
Number - The horizontal position of the source node.