WoW:API TaxiNodePosition: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
m (Move page script moved page API TaxiNodePosition to API TaxiNodePosition without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{wowapi}}
Returns 2 floats which correspond to the relative position of the node on a 1x1 map.<br />
Returns 2 floats which correspond to the relative position of the node on a 1x1 map.<br />
Returns an error "invalid taxi node slot" if no taxi map is up or an invalid slot is used.
Returns an error "invalid taxi node slot" if no taxi map is up or an invalid slot is used.
Line 5: Line 6:
;''Example''
;''Example''
  local x,y = TaxiNodePosition(1);
  local x,y = TaxiNodePosition(1);
----
{{template:WoW API}}

Latest revision as of 04:47, 15 August 2023

WoW API < TaxiNodePosition

Returns 2 floats which correspond to the relative position of the node on a 1x1 map.
Returns an error "invalid taxi node slot" if no taxi map is up or an invalid slot is used.


Example
local x,y = TaxiNodePosition(1);