WoW:API TaxiNodePosition: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
m (Move page script moved page API TaxiNodePosition to API TaxiNodePosition without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Returns a float value that appears to be a representation of a node's position on the taxi map. Returns an error "invalid taxi node slot" if no taxi map is up or an invalid slot is used.<br />-Moof
{{wowapi}}
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.
 
----
----
{{template:WoW API}}
;''Example''
local x,y = TaxiNodePosition(1);

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