didnt knew if you can do stuff like that in weak auras - do share if you will succeed.
and yes I have right now 4 of those scripts (rest is handled by addons themselves having option to attach to parent frame) and ideas for more
didnt knew if you can do stuff like that in weak auras - do share if you will succeed.
and yes I have right now 4 of those scripts (rest is handled by addons themselves having option to attach to parent frame) and ideas for more
I suppose you could make wa do things lke that, but will have to see wether i can make it work or not.
otherwise i will have to use the method of setting positions by editing the saved variables.
just a few more bits of info:
here is the thread I made a while back - has few interesting bits of code - http://www.mmo-champion.com/threads/...UI-is-rendered
and here is the not working code I have that ideally should anchor unit frame to the bartender
by not working I mean it prints out "Loaded" but the I get nil value for "a" variable - which suggests that it is running before the other addons load.Code:local fN = ... local f=CreateFrame("Frame") f:SetScript("OnEvent",function(s,e,n) if (e == "ADDON_LOADED") and (n == fN) then print("Loaded!") local a,b=SUFUnitplayer,BT4Button25 a:ClearAllPoints() a:SetPoint("TOPRIGHT", b, "TOPLEFT", -17, 0) end end) f:RegisterEvent("ADDON_LOADED")
Add a ## Dependencies: Bartender4, WhateverTheSUFFolderIsCalled to the TOC file.
I did (like you told me to last time )
this is what I have:
- - - Updated - - -Code:## Dependencies: Bartender4, ShadowedUnitFrames
Where can you find versions later than 13.8.4 ? Mine is from Jan 7th 2014 and is .4 I have looked a round and have no idea how to create groups there :/
also another use case - not sure if that changes anything but what about boss frame or raid frames? those are frames that show up under only special conditions so the solution I am looking for should cover the frames that are not visible all the time
I only uploaded 13.8.5 today, so it's still peding i guess. I can make a quick presentation how to handle the groups if you would like.
The other issue it's dependent on the frame, some frames can only be modified after it's been created. The boss frames are not like that.
a quick tutorial wouild be awesome
while boss frames might not fit my scenario how about vuhdo/grid that shows up only in certain situations (like having more than 5 people in party)? or something that I think I saw in tukUI - tooltips being positioned in the bottom right corner of the screen unless there is a bag window open, then bag would be in that bottom right corner and tooltip above it (so a frame hooked to a different frame that only sometimes shows up)
Ok, so i might try to update moveanything and give it another shot.
my problem with it was that when letting stuff snap to center of the screen it would be a bit off as oposed to other stuff. My example was minimap and a weakaura border. Wa has 0 x offset from center, yet my minimap ended up about 40 pixels to the left.
Might this be fixed in newer versions?
I tried the new and improved MoveAnything. The options it has for the attaching frames to eachother is exactly what I was looking for. However and this is big however - it seems to be working only for the "original ui frames" (unless I am completely wrong). I could find a player frame and attach it to anything but I couldnt find a ShadowedUnitFrames player frame which is called "SUFUnitplayer". Using search in MoveAnything didnt show any results for "suf".
There used to be an addon called Kong - used for hiding certain parts of UI based on conditions. It had very intuitive interface for selecting which frame to modify - maybe worth adding something similar?
I always used an addon called screengrid, when working on custom UI's. Got tired of them so now I am just back to the original ui, with omnicc, bigwigs, grid and weak auras. Those are all the addons you need in this game.
You can move any frame with the "/move framename" command then the addon is gonna add that frame into a "Custom" category if the frame is global. Or you could add a keybind to do this with the frame under your cursor, in Blizzard's Key Bindings menu at the MoveAnything part.
When you parent a frame to another frame, when you move the parent the parented children is also going to move with it.
Last edited by Resike; 2014-01-20 at 09:26 PM.
came back to say that new MoveAnything together with quoted comment from Resike is absolutely what I needed. Being able to move custom frames and anchor them within a 30min of tinkering made huge improvements to my UI alignment.
Couple more tinkering session and I might be able to show my UI setup to the public.