Can you macro a way to add map pin?
Can you make a macro to add a map pin?
|
Code:
/run local c,p,t,m=C_Map,"player","target" m=c.GetBestMapForUnit(p)c.SetUserWaypoint({position=c.GetPlayerMapPosition(m,p),uiMapID=m})SendChatMessage("%t "..floor((UnitHealth(t)/UnitHealthMax(t))*100).."% "..c.GetUserWaypointHyperlink(),"CHANNEL",nil,1) |
Amazing macro! Is there also a way to pin my targets location instead of mine? Often i need to pin a targets location from a distance.
|
Not possible. Only your position is available in the API.
|
All times are GMT -6. The time now is 02:42 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI