Thread: Map Error
View Single Post
03-06-10, 03:20 PM   #4
Ravendwyr
A Flamescale Wyrmkin
 
Ravendwyr's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2005
Posts: 139
How about this:
Code:
WorldMapFrame:HookScript("OnShow", function()
  if not InCombatLockdown() then
    WorldMapFrame:SetScale(0.7)
  end
end)
By using this, changing the scale will only happen when out of combat, but there is a chance that it will be full size in combat.
My WoW account is frozen at the moment so I can't test this.
__________________
Twitter | GitHub
  Reply With Quote