Thread Tools Display Modes
07-16-10, 01:50 PM   #1
techsgtchen
A Theradrim Guardian
 
techsgtchen's Avatar
Join Date: Aug 2006
Posts: 68
Talking PvP Objectives Icons

is there an addon that allows you to move the default pvp objectives that display in the center-top of your screen? maybe shift it's y-axis at least? Thank you.
  Reply With Quote
07-16-10, 02:41 PM   #2
Quokka
A Chromatic Dragonspawn
 
Quokka's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2005
Posts: 196
you could make a small addon. Drop this in a .txt file and excange the extension to .lua

Code:
	local function captureupdate()
		local nexty = 0
		for i = 1, NUM_EXTENDED_UI_FRAMES do
			local cb = _G["WorldStateCaptureBar"..i]
			if cb and cb:IsShown() then
				cb:ClearAllPoints()
				cb:SetPoint("TOP", UIParent, "TOP", 0, -24)
				nexty = nexty + cb:GetHeight()
			end
		end
	end
	hooksecurefunc("WorldStateAlwaysUpFrame_Update", captureupdate)
that should do it.

don't forget to make the .toc file
  Reply With Quote
07-16-10, 09:16 PM   #3
techsgtchen
A Theradrim Guardian
 
techsgtchen's Avatar
Join Date: Aug 2006
Posts: 68
is the -24 supposed to be the y axis? cause it didn't do anything.

But I made my first addon ... does nothing but it shows up as one! w00t!

Last edited by techsgtchen : 07-16-10 at 09:21 PM.
  Reply With Quote
07-16-10, 11:11 PM   #4
jeffy162
A Pyroguard Emberseer
 
jeffy162's Avatar
AddOn Author - Click to view addons
Join Date: May 2009
Posts: 2,364
MoveIt will allow you to ... move it.
  Reply With Quote
07-17-10, 11:09 AM   #5
techsgtchen
A Theradrim Guardian
 
techsgtchen's Avatar
Join Date: Aug 2006
Posts: 68
thank you, exactly what I wanted though the addon needs to be updated, I had to modify it with from ChatFrameEditBox to 3.3.5's ChatFrame1EditBox.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » PvP Objectives Icons


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