all your frames are set to stack on each other in
Code:
if i==1 then
raidgroup:SetPoint ("LEFT", UIParent, "LEFT", 477, -185)
else
raidgroup:SetPoint("LEFT", raid[i-1], "LEFT", 0, -35)
end
raidgroup:SetAttribute("template", "oUF_RaidPet")
else
if i==1 then
raidgroup:SetPoint("LEFT", UIParent, "LEFT", cfg.raidX, cfg.raidY)
else
raidgroup:SetPoint("LEFT", raid[i-1], "LEFT", 0, -30)
that is saying that your frames ae going to stack ontop of one another. try
Code:
raidgroup:SetPoint("LEFT", raid[i-1], "RIGHT", 0, -35)