Jump to content

Arena Junkies was shut down on July 1st, 2018. You're viewing an archive of this page from 2018-06-26 at 00:52. Thank you all for your support! Please get in touch via the Curse help desk if you need any support using this archive.

Voxic

Member Since 10 Aug 2011
Offline Last Active Feb 25 2013 05:36 AM
-----

Posts I've Made

In Topic: arena frames keep disappearing... lua help :(

12 February 2013 - 10:50 PM

Blizzard incorporated ArenaEnemyFrame# into BG's to show flag/orb carriers when MoP was released. If you move ArenaEnemyFrame# (or whatever it's anchored to), the same frame will be moved in BG's. The frames exist even without sArena.

The original setup for arena frames is that ArenaEnemyFrame1-5 are all children of a parent frame called ArenaEnemyFrames. Another parent frame exists for the prep frames: ArenaPrepFrames. Instead of moving each individual frame, try just moving the parent frames:

ArenaEnemyFrames:SetScale(1.3)
ArenaEnemyFrames:ClearAllPoints()
ArenaEnemyFrames:SetPoint("CENTER", UIParent, 228, 146)
ArenaEnemyFrames.ClearAllPoints = function() end
ArenaEnemyFrames.SetPoint = function() end

ArenaPrepFrames:SetScale(1.3)
ArenaPrepFrames:ClearAllPoints()
ArenaPrepFrames:SetPoint("CENTER", UIParent, 228, 146)
ArenaPrepFrames.ClearAllPoints = function() end
ArenaPrepFrames.SetPoint = function() end

sArena does something similar to this, however it avoids the SetPoint taint and might circumvent some other issues that I've forgotten about by now.

Thank you for explaining what Blizzard did with the arena frames in bgs and stuff - it makes sense. I tried this approach in moving my arena frames, and the issue of the frames disappearing at the arena start still persists. :(

In Topic: arena frames keep disappearing... lua help :(

12 February 2013 - 07:05 PM

Is there some kind of onupdate type of coding I need to add to make it work?

In Topic: arena frames keep disappearing... lua help :(

12 February 2013 - 06:06 PM

are you sure it's not appearing only in bgs where there is a flag carrier?


Not sure...

In Topic: arena frames keep disappearing... lua help :(

12 February 2013 - 05:49 PM

you should use sArena

sorry if it didn't help


I tried using sArena, and it does work. However, I'm trying to incorporate this into an addon I made that configures everything the way I prefer it. The thing about sArena is, whenever I'm in a bg, enemies will suddenly start appearing as arena enemies. So, I get arena frames when I'm bging when I use sArena.

What happens if you remove this line?

ArenaEnemyFrames:SetScale(1.3)

Didn't help.

In Topic: arena frames keep disappearing... lua help :(

12 February 2013 - 05:17 PM

Anyone? :(