WoW:API Minimap GetPingPosition

From AddOn Studio
Revision as of 01:59, 28 October 2005 by WoWWiki>Jbcc
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function obtains the position of the last ping sent to the Minimap.

Minimap:GetPingPosition()

Arguments
none

Returns
x
x coordinates of the last ping in relation to the center
x
y coordinates of the last ping in relation to the center

Example
local x, y = Minimap:GetPingPosition()

Description
Obtains the coordinates of the last ping that was sent to the player's Minimap.

Go to World of Warcraft Widget API
Go to Interface Customization

Template:WoW API