CurseForge and Overwolf are joining forces!
Awesome More Information
  • 0

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

    I think i will just remove this until i understand it better. Gonna spend some time on that wiki i guess.


    try this
    local partytarget = {}
    if not partytarget[1] then
    	for i = 1, 5 do
            if i==1 then
                partytarget[i] = oUF:Spawn("party"..i.."target", "oUF_Party"..i.."Target")
                partytarget[i]:SetPoint("TOPLEFT", party, "TOPRIGHT", 8, 0)
            else
    		     partytarget[i] = oUF:Spawn("party"..i.."target", "oUF_Party"..i.."Target")
    		     partytarget[i]:SetPoint("TOP", partytarget[i-1], "BOTTOM", 0, -4)
            end
        end
    end
    
    function ShowPartyTargets()
    	if not partytarget[1]:IsVisible() then
    		for k, v in ipairs(partytarget) do
    			v:Enable()
    			v:Show()
    		end
    	end
    end
    
    function HidePartyTargets()
    	if not partytarget[1]:IsVisible() then
    		for k, v in ipairs(partytarget) do
    			v:Disable()
    			v:Hide()
    		end
    	end
    end


    call ShowPartyTargets and HidePartyTargets depending on the raid member number.

    totally untested btw
    Posted in: Unit Frames
  • 0

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

    I've recently had the same issue as this, is there any quick way to test whether you are in a raid or not? I assumed GetRaidNumbers() seems to return even if you are just in a party or am I confused?

    What should GetRaid and GetParty Numbers() return if you are in a raid or in a party?


    test it yourself, go in-game, join a party or a raid, and then type "/print GetNumRaidMembers()", it will print out the result in the chatframe.
    Posted in: Unit Frames
  • 0

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

    Hmm that's exactly the same link as Coldfury posted, so i did.


    well i was wrong in specifing only GetMaxHP(), but look at all the function's returns.



    Returns
    number or nil - the maximum health of the unit or nil if unknown



    Returns
    number, boolean - the current health of the unit, whether the health is known or not



    Returns
    number, number, boolean - the current health of the unit, the maximum health of the unit, whether the health is known or not


    etc..
    Posted in: Unit Frames
  • 0

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

    Is it currently possible (on live servers ofc) to hide a value if it's not known by LMH4, something in the line of 'if hp known = true'


    http://www.wowace.com/wiki/LibMobHealth-4.0 :GetMaxHP function
    Posted in: Unit Frames
  • 0

    posted a message on Desktop Screenshots - Show us your non-WoW!
    Quote from Zyndrome »

    The dock is RocketDock with this icon-pack : http://chrfb.deviantart.com/art/quot-ecqlipse-2-quot-PNG-59941546


    thanks!
    Posted in: General Chat
  • 0

    posted a message on Desktop Screenshots - Show us your non-WoW!
    Quote from Zyndrome »

    http://www.shatteredminds.net/skit/oh-lawd-is-dat-sum-desktop.png with my own little res-hacked 'Run'-box.


    i totally love that wallpaper! its awsome!


    is that a dock at the top? if so, which one? and your own icon or icon pack?
    Posted in: General Chat
  • 0

    posted a message on UI Screenshots - Show us what you use!
    Quote from Phanx »

    You need one of these minimaps: ;)



    the only thing that bug me on that UI is the buff timers. the buff border overlap them a bit and they're not centered.
    other than that, very nice and clean.
    Posted in: General Chat
  • 0

    posted a message on Desktop Screenshots - Show us your non-WoW!
    Quote from Led ++ »

    I envy your courage to do ALL that.

    Thanks for the tagging program tho :)


    just do it little by little like me. whenever ive got nothing to do, waiting for a download, watching tv(do it while the ads are shown), etc..

    i dont have a folder for every artists i have tho, i only have folders for the full albums i have and its something like "Danko Jones - Sleep is the Enemy[2006]", all other songs are tagged "artist(s) - title.mp3".
    Posted in: General Chat
  • 0

    posted a message on Desktop Screenshots - Show us your non-WoW!
    Quote from Lanerra »

    I just wanted to thank everyone who posted the awesome Linux screenshots in this thread. They have convinced me to try and make the switch, and I have almost everything set up how I would like.

    However, the only thing I can't get working is WoW (The only thing, essentially, maintaining my death grip on Windows). The graphics are incredibly corrupted, can't make out anything, even in windowed (the whole screen goes fuzzy and corrupted). So, once I figure that out, it's goodbye to Windows :)

    Again, thanks. I've been looking for an excuse to switch, and this pretty much is what convinced me :)


    https://help.ubuntu.com/community/WorldofWarcraft

    did you do the tweak/configuration thing in that doc? if not, try it, it worked for me.
    Posted in: General Chat
  • 0

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

    Caellian & p3lim

    a question one off you might know the awnser to.

    Hiding the party in raids works fine, but for some reason it does'nt do that in a Battleground.
    Could you tell me what causes that problem (prob. blizz) but asking never hurts :)


    my guess is battlegroups and raids arent the same as you can be in both at the same time.
    Posted in: Unit Frames
  • 0

    posted a message on Desktop Screenshots - Show us your non-WoW!
    Quote from faux »



    I need to find a decent font and some flat icons.


    is that linux/litestep?
    Posted in: General Chat
  • 0

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

    Correct me if i'm wrong.


    you are right
    Posted in: Unit Frames
  • 0

    posted a message on Unofficial oUF - methods used for layouts
    what are si-values?
    Posted in: Unit Frames
  • 0

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

    Didn't find anything on his Gcode, just rFader but it's for bars :(


    well just change it so i affect oUF instead of rBars
    Posted in: Unit Frames
  • 0

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

    I tried that in the past (self.inRange = IsActionInRange(BonusActionButton4)) but it didn't work too well, if for example i was using concussive shot as range check, it would work only when i was targetting my pet, not on hostile targets, not on other players, never understood how an "attack" would make the range check work with my pet as it's friendly. Also, why it never made a difference between concussive shot 35 yards and hunter's mark 100 yards.

    I'd love to use LibRangeCheck-2.0 in my layout but last time i tried, i failed :)


    no use for LibRangeCheck.

    1st, thats not how you use IsActionInRange.
    you need to do the changes in oUF/elements/range.lua. change UnitInRange for IsActionInRange(etc).

    2nd, you should use IsSpellInRange("name of the spell") instead.

    3rd, if you use a harmful spell to check the range, it will return nil on friendly units, and the other way around.

    4th, i will prolly write oUF_Range+ which will be the same as now exept it will work on all frames(on which it is enabled) exept party and raid, and uses spells to check range(1 spell for friendly and 1 other for enemy unit).
    Posted in: Unit Frames
  • To post a comment, please or register a new account.