exactly, thats the way i wrote mine
What happens if no one in the raid is targeting the questioned mob?
function sUF:UpdateAggro() local unit = self.unit local target = unit.."target" if UnitExists(target) then local targettarget = target.."target" if UnitExists(targettarget) then if UnitName(unit) == UnitName(targettarget) and UnitCanAttack(target, unit) then -- do something end end else -- set back to default end end
Quote from zork_tdmog »
I tried the group sorting again and with all three values applied I get a SecureHeader Error. Has anyone a working raid sort per class?
Quote from Moon Witch »
PS. Stupid question. But in AV, I need to see the UFs of all team mates, doesn't matter if they're dead/alive/out of range. I still need to see them, seeing as I am the healer :P But my raid frames hide themselves there, which is normal blizzard behavior. Yet Grid can show them all, why is this? And how does oUF handle it? (I have seen pelim's screenie in AV, which showed unitframes, but does it show ALL members? Or is it toned down to 25?
groupFilter = "1, 2, 3, 4, 5, 6, 7, 8",
Quote from p3lim »
does this check the range against each invidual unit? if not its just pointless.
one thing is the issue with the updater (but i think your code works sciet, just add a table for it)
another issue is that it checks the range against your current target, not an invidual raid unit..
local rupdateTime = 0 -- add this to the top section of ouf.lua local rupdateInterval = .5 if object:GetParent():GetName() == "raid" then -- add this to initObject(..) in ouf.lua object:SetScript("OnUpdate", function(self, elapsed) rupdateTime = rupdateTime + elapsed if rupdateTime > rupdateInterval then local inRange = IsSpellInRange("Arcane Intellect", self.unit) if inRange == 1 then self:SetAlpha(1) else self:SetAlpha(.2) end rupdateTime = 0 end end) end
groupBy = [nil, "GROUP", "CLASS", "ROLE"] - specifies a "grouping" type to apply before regular sorting (Default: nil)
groupFilter = [1-8, STRING] -- a comma seperated list of raid group numbers and/or uppercase class names and/or uppercase roles groupingOrder = [STRING] - specifies the order of the groupings (ie. "1,2,3,4,5,6,7,8")
Quote from Stapedius »
It is not possible to spawn individual raidgroups at the moment?
This issue will come up a lot since in some Raid/BG situations groups are not full and everything would be kind of messed then. It?s not that uncommon that for some time during a raid for axample a melee group spot will be free until someone shows up.
:DQuote from haste »damn 1px issue
Quote from lymphatik »
Adde this one in updatename to get rid of the trouble with health overlapping name in grid mimic. How ever I don't know what happen if someone as a nickname with two letter. :(
Quote from Cyanix »
How did you manage to add class coloring to your unit frames ?
local color = UnitIsPlayer(unit) and RAID_CLASS_COLORS[select(2, UnitClass(unit))] or UnitReactionColor[UnitReaction(unit, "player")] if (color) then bar:SetStatusBarColor(color.r, color.g, color.b) end
Quote from LA-Techno[dc2k »]
can?t wait too test the grid layout.
How can i set the group horizontal not vertically ?
rshowRaid = true, rpoint = "TOP", rsortDir = "ASC", ryOffset = -3, rxOffset = 0, rgroupFilter = "1, 2, 3, 4, 5, 6, 7, 8", rsortMethod = "NAME", rgroupBy = "GROUP", rgroupingOrder = "1, 2, 3, 4, 5, 6, 7, 8", rmaxColumns = 8, runitsPerColumn = 5, rcolumnSpacing = 3, rcolumnAnchorPoint = "LEFT",
Quote from p3lim »
also, sciet, mind posting a more updated version of your sUF please? wanna see what youve done to the core :p