Quantcast
WoWInterface - View Single Post - attempt to index local 'f' (a nil value)
View Single Post
02-05-18, 03:01 AM   #4
kaimox
A Fallenroot Satyr
Join Date: Jun 2008
Posts: 23
Thank you for answering.

I'm attempting to hide (MiniMapMailFrame,VehicleSeatIndicator) and move (BuffFrame) various stuff from the UI

... edited because obsolete - forget about the "f"-stuff.

The old simple way works again after another UI reset. Code now looks like this (I edited this for clarity in case somebody else has similar problems):

Code:
MainMenuBarLeftEndCap:Hide()
MainMenuBarRightEndCap:Hide()
MiniMapMailFrame:SetScript("OnEvent", nil)
MiniMapMailFrame:UnregisterAllEvents()
MiniMapMailFrame:Hide()
VehicleSeatIndicator:SetScript("OnEvent", nil)
VehicleSeatIndicator:UnregisterAllEvents()
VehicleSeatIndicator:Hide()  
BuffFrame:ClearAllPoints()
BuffFrame:SetPoint("CENTER",UIParent,"CENTER",0,0) 
BuffFrame.SetPoint = function() end
BuffFrame:SetScale(1.3)      
ObjectiveTrackerFrame:ClearAllPoints()
ObjectiveTrackerFrame:SetScale(1.2)
ObjectiveTrackerFrame:SetPoint("TOPRIGHT",MinimapCluster,"BOTTOMRIGHT",0,50)
ObjectiveTrackerFrame:SetWidth(MinimapCluster:GetWidth() * 2)

Last edited by kaimox : 02-05-18 at 06:22 AM.
  Reply With Quote