Originally Posted by p3lim
As far as I know, you can move any of the default unitframes by rightclicking them and choosing move frame from the dropdown.
|
AFAIK it just works for Player/Target/Focus.
Originally Posted by Phanx
Also, once you move party1 to where you want it, you can move all the others by positioning them relative to party1:
Code:
for i = 2, 4 do
local f = _G["PartyMemberFrame"..i]
f:ClearAllPoints()
f:SetPoint("BOTTOMLEFT", _G["PartyMemberFrame"..(i-1)], "TOPLEFT", 0, 20)
end
... will attach party2-party4's bottom left corner to the previous party frame's top left corner, with an vertical spacing of 20. Adjust spacing as needed.
|
Code:
local movePartyFrames = true
if movePartyFrames == true then
for i = 2, 4 do
local f = _G["PartyMemberFrame"..i]
f:ClearAllPoints()
PartyMemberFrame1:ClearAllPoints()
PartyMemberFrame1:SetPoint("CENTER", -400,50)
f:SetPoint("BOTTOMLEFT", _G["PartyMemberFrame"..(i-1)], "TOPLEFT", 0, 20)
end
end
its working now, thanks Phanx
!