Originally Posted by Terenna
You could try
Lua Code:
hooksecurefunc(ArenaEnemyFrame1, 'SetPoint', function(self) local a, b, c, d, e = self:GetPoint() if (a ~= 'CENTER' or c ~= 'CENTER' or d ~= 343 or e ~= 44) then ArenaEnemyFrame1:ClearAllPoints() self:SetPoint('CENTER', UIParent, 'CENTER', 343, 44) end end) hooksecurefunc(ArenaEnemyFrame2, 'SetPoint', function(self) local a, b, c, d, e = self:GetPoint() if (a ~= 'CENTER' or c ~= 'CENTER' or d ~= 343 or e ~= 18) then ArenaEnemyFrame2:ClearAllPoints() self:SetPoint('CENTER', UIParent, 'CENTER', 343, 18) end end) hooksecurefunc(ArenaEnemyFrame3, 'SetPoint', function(self) local a, b, c, d, e = self:GetPoint() if (a ~= 'CENTER' or c ~= 'CENTER' or d ~= 343 or e ~= -8) then ArenaEnemyFrame3:ClearAllPoints() self:SetPoint('CENTER', UIParent, 'CENTER', 343, -8) end end) hooksecurefunc(ArenaEnemyFrame4, 'SetPoint', function(self) local a, b, c, d, e = self:GetPoint() if (a ~= 'CENTER' or c ~= 'CENTER' or d ~= 343 or e ~= -34) then ArenaEnemyFrame4:ClearAllPoints() self:SetPoint('CENTER', UIParent, 'CENTER', 343, -34) end end) hooksecurefunc(ArenaEnemyFrame5, 'SetPoint', function(self) local a, b, c, d, e = self:GetPoint() if (a ~= 'CENTER' or c ~= 'CENTER' or d ~= 343 or e ~= -60) then ArenaEnemyFrame5:ClearAllPoints() self:SetPoint('CENTER', UIParent, 'CENTER', 343, -60) end end)
|
I appreciate the try but unfortunately it didn't work (positions reset to top right (default) when updating from stealther/invis, plus gave me C stack overflow lua error).
It's something with stealthers, invisibility. When the arena frames "update" after it, they reset or give me taint.
__
If anyone wanna keep experimenting/trying, can do 3v3 skirmishes and try there, see how it behaves when they update mid game cus of stealth or invisibility.