Quantcast
WoWInterface - View Single Post - Hide world map arrow and ping
View Single Post
11-24-17, 12:57 PM   #3
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,310
Edited to make into a toggleable (if that's even a word) addon
Code:
SLASH_HIDEARROW1 = "/hidearrow";
SLASH_HIDEARROW2 = "/ha";
SlashCmdList["HIDEARROW"] = function(msg)
	if WorldMapUnitPositionFrame:GetAlpha() == 0 then
		WorldMapUnitPositionFrame:SetAlpha(1)
	else
		WorldMapUnitPositionFrame:SetAlpha(0)
	end
end
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.

Last edited by Fizzlemizz : 11-24-17 at 01:19 PM.
  Reply With Quote