Shestak UI
Go Back   Shestak UI > Interface Forums > English Community > Technical Support

Technical Support Ask for help or find solutions about ShestakUI.

Advertising

 
Thread Tools
Old 07.06.2010, 19:32   #1
 Elder Member User Information

Relic's Avatar
Question Relocating Pet Frame

What file would I look into if I wanted to relocate the pet frame (action bar) to above my action bars? See screen capture below.

Old 07.06.2010, 19:32   #1.5 - Disable Ads

Advertise on this site

Old 07.06.2010, 19:58   #2
Shestak
 Junior Member User Information

Shestak's Avatar
Try this:
Open rActionBarStyler\rActionBarStyler.lua
find:
Code [Select]:
local fpet = CreateFrame("Frame", "PetBarHolder", UIParent)
fpet:SetWidth(27)
fpet:SetHeight(279)
change:
Code [Select]:
local fpet = CreateFrame("Frame", "PetBarHolder", UIParent)
fpet:SetWidth(279)
fpet:SetHeight(27)
find:
Code [Select]:
PetActionBarFrame:SetParent(fpet)
PetActionBarFrame:SetWidth(0.01)
PetActionButton1:ClearAllPoints()
PetActionButton1:SetPoint("TOPRIGHT", fpet, "TOPRIGHT", -0.2, 0)
for i = 2, 10 do
	local b = _G["PetActionButton"..i]
	local b2 = _G["PetActionButton"..i - 1]
	b:ClearAllPoints()
	b:SetPoint("TOP", b2, "BOTTOM", 0, -1 * UIParent:GetEffectiveScale())
end
change:
Code [Select]:
PetActionBarFrame:SetParent(fpet)
PetActionBarFrame:SetWidth(0.01)
PetActionButton1:ClearAllPoints()
PetActionButton1:SetPoint("BOTTOMLEFT", fpet, "BOTTOMLEFT", 0.2, 0)
for i = 2, 10 do
	local b = _G["PetActionButton"..i]
	local b2 = _G["PetActionButton"..i - 1]
	b:ClearAllPoints()
	b:SetPoint("LEFT", b2, "RIGHT", 1 * UIParent:GetEffectiveScale(), 0)
end
and petbar position is:
Code [Select]:
local fpet = CreateFrame("Frame", "PetBarHolder", UIParent)
fpet:SetWidth(27)
fpet:SetHeight(279)
if aSettings["actionbar"].rightbars.three == true then
	fpet:SetPoint("RIGHT", -104, 0) 
else
	fpet:SetPoint("RIGHT", -76, 0) 
end
P.S.: I edited the user rights that you could upload large images into albums.
Old 07.06.2010, 20:29   #3
Relic
 Elder Member User Information

Relic's Avatar
Thank you for this Shestak. Here is a screen capture of the results.

Old 12.06.2010, 12:33   #4
Love
 Member User Information

Love's Avatar
Quote:
Originally Posted by Relic View Post
Thank you for this Shestak. Here is a screen capture of the results.
So, Relic, after you moved the pet bar, will the raid frame be overlaid?
I'm still in office, so can't test on my own.
Say Thank:
Relic (15.06.2010)
Old 14.06.2010, 23:55   #5
Relic
 Elder Member User Information

Relic's Avatar
Quote:
Originally Posted by Love View Post
So, Relic, after you moved the pet bar, will the raid frame be overlaid?
I'm still in office, so can't test on my own.
Yes Love I suppose it will, I have not been in a 25 man yet with this char to test, but by default it will overlap. I will need to nudge them up a bit to compensate.
Old 15.06.2010, 00:12   #6
Shestak
 Junior Member User Information

Shestak's Avatar
Yes, if the pet bar will be horizontal, then the raid frames will overlap the pet bar.

Change the position of the raid frames can be in the file oUF_Shestak\oUF_Main.lua(~1504 line)
Code [Select]:
raidgroup:SetPoint("LEFT", "oUF_Player", "RIGHT", 11.5, -37)
Say Thank:
Relic (15.06.2010)
Old 21.06.2010, 14:22   #7
yAm5ki
 Junior Member User Information

yAm5ki's Avatar
Question

Чтобы не создавать новую тему напишу здесь.
Подскажи, как сделать, чтобы пет-бар был виден постоянно
Old 21.06.2010, 14:26   #8
Shestak
 Junior Member User Information

Shestak's Avatar
Читать ридми
Old 21.06.2010, 15:18   #9
yAm5ki
 Junior Member User Information

yAm5ki's Avatar
спасибо

Tags
actionbar, frame, pet, relocate

Thread Tools



Mobile Style Русский English Deutsch Italian Chinese