as title says i want to recreate my old weakaura but i used someother persons weakaura as template with custom codes for grouping (which is a whole thing i dont really understand how to do) the first bar was one size and x amount of spells and then the 2nd bar sorted them to be smaller with an increased amount of spells and bar 3 was the same as bar 2
#I want to recreate my weakaura i used to play with
14 messages · Page 1 of 1 (latest)
Put your auras in a dynamic group, and set the groups "grow" setting to "custom"
Then you can either expand the code editor, and click on the red "help" button to learn how to do it yourself
Or you rip the code for it from some pre-existing aura
yeah i was trying to find the weakaura i used but cant remember what the time period was the weakaura was uploaded nor what class it was for
I'm not at the PC so I can't share mine, but take a look at this: https://wago.io/pyNkqD-5m
IIRC he uses some okay code for his custom grow in the CD icon group
yeah the reason i dont want to do multiple bars is for the reason as in the image i have rune tap when i dont have rune tap i would want my spells to all change and tombstone to join in the upper bar again im sure you understand what i mean, and i know i can do it with some cheeky loading stuff but why add extra auras to each group when it can be simpler
but ill check out the weakaura you linked if i can do anything with it
You could still just make multiple bars, and just have two tombstone auras. One in each bar, and only load the one in bar 1 when you don't have rune tap (and the one in bar 2 when you do have rune tap)
If I understood you correctly
Which is pretty simple, something else involving a custom sort that rearranges the order depending on whether or not you have rune tap would certainly be less simple.
And a custom grow solution that makes new rows is more of a hassle as well. I think the one I linked does that, but it's simply limited by aura amount per row. Which can get annoying when you add or remove stuff and suddenly some things are in positions you're not used to.
function(newPositions, activeRegions)
local barWidth = 600
local barHeight = 40
local iconSpacing = 2
local xOffset = 0
local count = 0
local iconWidth = (barWidth - ((#activeRegions - 1) * iconSpacing)) / #activeRegions
for i, regionData in ipairs(activeRegions) do
local region = regionData.region
region:SetRegionWidth(iconWidth)
region:SetRegionHeight(barHeight)
xOffset = (0 - iconWidth + iconSpacing) / 2 * (#activeRegions - 1) + (count * (iconWidth + iconSpacing))
count = count + 1
newPositions[i] = {xOffset, 0}
end
end
Shitty mobile typing and going by memory, but this should be a serviceable code to force the dynamic group to a set length of your liking and size the icons accordingly