Im trying to edit the LUA to nMinimap from Neal, which is one of my favorite minimap mods. The way the Date and Time is set up it colors according to raid class color, im trying to get the same done for New Mail text and Minimap zone text, below is the code as it sits. How would i go about adding code so it colors per class text? I have it manually set right now to be Mage color because thats what im currently playing. And is it possible to set minimapzone text to a bigger font? And if anyone responds could you dumb it down for a begginer? Im still trying to learn
local function dummy() end
MinimapZoneTextButton:ClearAllPoints()
MinimapZoneTextButton:SetParent(Minimap)
MinimapZoneTextButton:SetPoint("TOP", Minimap, 5, 14)
MinimapZoneTextButton:SetFrameStrata("LOW")
MinimapZoneText:SetFont('[FONTS\\ARIALN.ttf', 10, 'OUTLINE')
MinimapZoneText:SetTextColor(.41, .80, .94)
MinimapZoneText.SetTextColor = dummy
MiniMapMailText = MiniMapMailFrame:CreateFontString('MiniMapMailText', 'OVERLAY')
MiniMapMailText:SetParent(MiniMapMailFrame)
MiniMapMailText:SetFont('Fonts\\ARIALN.ttf', 16, 'OUTLINE')
MiniMapMailText:SetPoint('BOTTOMRIGHT', MiniMapMailFrame)
MiniMapMailText:SetTextColor(.41, .80, .94)
MiniMapMailText:SetText('Mail')
MiniMapMailFrame:SetWidth((MiniMapMailText:GetStringWidth()))
MiniMapMailFrame:SetHeight(18)
MiniMapMailFrame:ClearAllPoints()
MiniMapMailFrame:SetPoint('BOTTOMRIGHT', Minimap, -4, 5)
MiniMapMailIcon:SetTexture(nil)