Thread Tools Display Modes
10-24-08, 07:09 AM   #1
Csalago
A Kobold Labourer
 
Csalago's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2006
Posts: 1
Moving the Buff Frame

I am trying to move the Buff Frame due to a resized minimap.

Code:
TemporaryEnchantFrame:ClearAllPoints();
TemporaryEnchantFrame:SetPoint("TOPRIGHT", "MinimapBorderTop","TOPLEFT", 12, -25);
I can get this to work whenever the minimap is resized or when you change zones, however I am not successful in getting it to move to the proper position upon initially entering the game with any character.

What event would I want to tie this code into? I tried ADDON_LOADED and PLAYER_ENTERING_WORLD with seemingly no success but I am new to the addon writing world so I could have easily missed something.

Thanks for the help ahead of time!
  Reply With Quote
10-29-08, 11:39 PM   #2
Gendr
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Mar 2008
Posts: 11
BasicBuffs does exactly what you want.
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Moving the Buff Frame

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off