WoW:API TaxiNodePosition: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
(upgraded deprecated template)
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}}

Revision as of 18:04, 6 January 2007

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