View Single Post
09-16-19, 06:37 PM   #4
Cyrille
A Kobold Labourer
Join Date: Sep 2019
Posts: 1
Possible Solution (Works on classic, can't test on retail)

I was looking for the same thing you were when I found this thread. Thanks for posting a link to that addon otherwise I had no idea where to start on this.

For a quick fix drop my 2 attachments into the WorldMapPingHider addon folder and overwrite core.lua. The image is just a blank transparent picture to replace the arrow marker with. The change in core was changing
Code:
hooksecurefunc(UnitPositionFrame, "StartPlayerPing", function(self, arg1, arg2)
	self:StopPlayerPing()
end)
to
Code:
hooksecurefunc(UnitPositionFrame, "StartPlayerPing", function(self, arg1, arg2)
	self:StopPlayerPing()
	self:SetPinTexture("player", "Interface\\AddOns\\WorldMapPingHider\\Invisible")
end)
I'm sure there's a better way to do it besides replacing the image but it's worked fine the past 2 hours I've used it.

Edit: Replaced the image since it was 256KB. I ran into an issue where the image didn't load properly and it turned into a green square. Hoping this fixed it
Attached Files
File Type: lua core.lua (939 Bytes, 234 views)
File Type: tga Invisible.tga (49 Bytes, 233 views)

Last edited by Cyrille : 09-16-19 at 07:41 PM.
  Reply With Quote