View Single Post
Old 01-11-12, 12:39 AM   #3
reddrumjay
A Black Drake
Join Date: Apr 2009
Posts: 85
OK... so I went one step further and made it draggable. MUCH easier than trying to figure out what numbers to put in. Posting here so I can find it easily to replace code in future patches:

Code:
MiniMapBattlefieldFrame:SetParent( Minimap );
MiniMapBattlefieldFrame:SetScale( 0.8 );
MiniMapBattlefieldFrame:ClearAllPoints();
MiniMapBattlefieldFrame:SetMovable(true)
MiniMapBattlefieldFrame:EnableMouse(true)
MiniMapBattlefieldFrame:RegisterForDrag("LeftButton");
MiniMapBattlefieldFrame:SetScript( "OnDragStart", frame.StartMoving );
MiniMapBattlefieldFrame:SetScript( "OnDragStop", frame.StopMovingOrSizing );
MiniMapBattlefieldFrame:SetPoint( "BOTTOMRIGHT", MiniMapWorldMapButton, "TOPLEFT", 2, -12 );
MiniMapBattlefieldFrame:SetFrameStrata( Minimap:GetFrameStrata() );
MiniMapBattlefieldFrame:SetFrameLevel( Minimap:GetFrameLevel()+5 );
__________________
Murphy's Law of Combat: Always remember your weapon was made by the lowest bidder.

reddrumjay is offline