WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Macro Help (https://www.wowinterface.com/forums/forumdisplay.php?f=140)
-   -   interface macro (https://www.wowinterface.com/forums/showthread.php?t=57782)

handiboy 01-18-20 09:57 PM

interface macro
 
I was wondering if anyone could help me write a macro to put enemy pvp trinkets on the right side of the default blizzard arena 1, 2, 3 frames. Right now the PvP trinkets appear on the left hand side of the frames (I use scripts to move the frames) and would like to have them on the other side / scale them bigger. Please guide me how I can mess with this! Thank you very much.


(Essentially trying to make them look like this https://www.twitch.tv/videos/48057755 , skip anywhere into this link where the arena match starts to see their trinkets)

Vrul 01-19-20 05:06 AM

I think this is what you want:
Code:

/run for i=1,MAX_ARENA_ENEMIES do local f=_G["ArenaEnemyFrame"..i];local c=f.CC;c:ClearAllPoints();c:SetPoint("LEFT",f,"RIGHT",-2,-2);c:SetSize(30,30)end
Change the last two number of the SetPoint call to adjust the x and y positioning respectively. Change the SetSize values to make it bigger or smaller.

handiboy 01-19-20 12:58 PM

update
 
Hey! I was just wondering if you also have a script to run the arena frames outside of arena so I don't have to constantly join games to mess with these values. Thank you again for your help!

handiboy 01-19-20 01:43 PM

trinket shape
 
The macro seems to work, one minor thing that would be nice to change as well is the default trinkets are a 'square' sort of shape, how could I get them circular like in the video provided?


All times are GMT -6. The time now is 11:03 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI