• 0

    posted a message on Unofficial oUF - methods used for layouts
    Quote from Coldfury »

    actually what he want i think is don't hide the raid frames at all, but limit them to showing 25 member.

    Bingo, that's exactly what I need.
    Quote from Coldfury »

    to do that, remove the whole function to hide raid frames. and add this to the function starting with "local initObject = function(object, unit)" in oUF.lua.
    object:SetAttribute("groupFilter", "1, 2, 3, 4, 5")


    Now here is where I am stuck. As a novice, I'm not exactly sure what "remove the function" is. As I am using pUF as a base, there are two files, Core and Layout. Core is where the "local initObject = function(object, unit)" is, and Layout is where I think this 'function' is.

    Anyway, I hope this pastey helps.
    Posted in: Unit Frames
  • 0

    posted a message on Unofficial oUF - methods used for layouts
    Firstly must say thanks to author Haste, great direction of addon. And must also thanks pelim, as i ripped his layout - thanks man.

    I post here to ask a question, I couldn't figure it out by myself as I'm not that experienced with oUF at the moment. Basically, I'm after two addendums to pUF; range filtering, and numbers in raids.

    Now, a couple post previous to me, I can pretty much work out how to do the range filtering, so no problem there (for the moment, havn't had time to try it out right now).

    Now, in pelim's layout, the raid frames are hidden when the size goes beyond 25. I am frequently in 25man raids with other on 'standby', so this doesn't suit me for healing etc. So, I was wondering what the code would be to hide the additional members beyond the 25th. What I did try unsucessfully was this;
    if GetNumRaidMembers() > 25 then
          raid26:Hide()

    I thought this would hide the 26th member. And then I would be able to do the same for the rest. But it didn't work.
    Posted in: Unit Frames
  • To post a comment, please or register a new account.