Thread Tools Display Modes
Prev Previous Post   Next Post Next
09-15-09, 08:35 PM   #1
Laurent
A Deviate Faerie Dragon
 
Laurent's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 12
Dependency Conflict

Hey I'm currently making a mod, well its more like a script, that configures the default MainMenuBar into a config I like. I'm having Issues with moving the menu buttons around. First of all here's teh code for moving the buttons:

Code:
	-- micro menu buttons
	QuestLogMicroButton:ClearAllPoints();
	QuestLogMicroButton:SetPoint("BOTTOMLEFT", "ActionButton12", "BOTTOMRIGHT", 3, -0);

	TalentMicroButton:ClearAllPoints();
	TalentMicroButton:SetPoint("BOTTOM", "QuestLogMicroButton", "TOP", 0, -20);

	CharacterMicroButton:ClearAllPoints();
	CharacterMicroButton:SetPoint("BOTTOM", "TalentMicroButton", "TOP", 0, -20);
	
	MainMenuMicroButton:ClearAllPoints();
	MainMenuMicroButton:SetPoint("LEFT", "QuestLogMicroButton", "RIGHT", 3, 0);

	SocialsMicroButton:ClearAllPoints();
	SocialsMicroButton:SetPoint("BOTTOM", "MainMenuMicroButton", "TOP", 0, -20);
		
	SpellbookMicroButton:ClearAllPoints();
	SpellbookMicroButton:SetPoint("BOTTOM", "SocialsMicroButton", "TOP", 0, -20);
	

	LFGMicroButton:Hide();
	PVPMicroButton:Hide();
	AchievementMicroButton:Hide();
	HelpMicroButton:Hide();
And that works, it moves the buttons around to where i like them and hides the buttons i never use but, it throws this error:

Code:
Message: Interface\\FrameXML\\MainMenuBarMicroButtons.lua:171: AchievementMicroButton:SetPoint(): TalentMicroButton is dependent on this
Time: 09/15/09 20:31:07\nCount: 1
Stack: [string \"Interface\\FrameXML\\BasicControls.xml:<Scrip...\"]:18: in function <[string \"Interface\\FrameXML\\BasicControls.xml:<Scrip...\"]:4>
[C]: ?
[C]: in function `SetPoint'
Interface\\FrameXML\\MainMenuBarMicroButtons.lua:171: in function `UpdateTalentButton'
Interface\\FrameXML\\MainMenuBarMicroButtons.lua:159: in function <Interface\\FrameXML\\MainMenuBarMicroButtons.lua:152>

Locals: (*temporary) = AchievementMicroButton {
 0 = <userdata>
}
(*temporary) = \"BOTTOMLEFT\"
(*temporary) = \"TalentMicroButton\"
(*temporary) = \"BOTTOMRIGHT\"
(*temporary) = -2
(*temporary) = 0
"
Any ideas why this is thrown?
__________________




  Reply With Quote
 

WoWInterface » Developer Discussions » General Authoring Discussion » Dependency Conflict


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