WeakAuras

Tracking when pet is *NOT* present?

  • 7 posts
    #1 Feb 26, 2011 at 08:42 UTC - 0 likes

    I found the dirty workaround to show when a pet is there: status (health) > unit (pet) > health

    How would I invert this? I want a nice big "Hey stupid, summon your water elemental" after dying :)

    I've tried setting to to hide if pet health is > 0 but that does nothing of note.

    #2 Feb 26, 2011 at 10:08 UTC - 0 likes

    Trigger Type: Custom

    Event Type: Status

    Check On...: Event(s)

    Event(s): UNIT_PET

    Custom Trigger:

    function()
      return not UnitExists("pet")
    end
    

    Custom Untrigger:

    function()
      return UnitExists("pet")
    end
    

    I have found that it is best to include an additional Status -> Conditions trigger to only have the display show when you are alive and not mounted. Furthermore, I have found it useful to add an Animation that hides the display for a short period of time as it is first being shown; this prevents the display from flickering when you mount and dismount.

    Animations -> Start

    Type: Custom

    Duration (s): 2

    Fade In

    Type: Hide

    #3 Feb 26, 2011 at 10:16 UTC - 0 likes

    Poifect!

    I'm still in the process of converting from Power Auras (which I've been using since BC iirc) but I've got nothing but praise so far =D

    #4 May 06, 2011 at 20:18 UTC - 0 likes

    Hi and thx for this really nice addon.

    Im trying to do the same for a temporary pet from DK

    "Raise Dead" when actived, raise a "Risen Ghoul". Can you help me ?

    Sorry for my bad English

    #5 May 06, 2011 at 22:37 UTC - 0 likes

    If you're an Unholy death knight with a controllable pet, the above Custom Trigger should work. If not, I'm not sure the temporary ghoul minion can be tracked conventionally. You could create an Event -> Combat Log trigger set to Message: "Spell Summon", Source Unit: "Player", Spell Name: "Risen Ghoul", and Duration: "60s", but that would not track if your Risen Ghoul gets killed or otherwise lost somehow.

    Last edited May 06, 2011 by Mirrormn
    #6 Oct 07, 2012 at 05:52 UTC - 0 likes

    sry for the necro, but this isn't working, i used the exact custom trigger and it sometimes shows up when I leave a BG or instance and my minion is alive. Typing /wa fixes this, but thats a whole other can of worms bc i have 1300 weakauras so it can freeze me for a bit

    Edit: I tried solution at http://www.wowace.com/addons/weakauras/forum/18967-triggers-for-pet-info/ seems to work better but will still show up as missing when I have a minion after leaving a BG

    Last edited Oct 07, 2012 by machinelf
    #7 Jan 17, 2014 at 12:35 UTC - 0 likes

    Old post but I was looking for this option myself, found out there seems to now be a built in Condition for the pet.

    Trigger Type: Status | Status: Conditions | Click : Having Pet (Alive) option twice to invert to "Not Having Pet (Alive)"

    Can also check Alive and Not Mounted in the same trigger.

    The additional animation to stop the icon from flickering still applies

    Last edited Jan 17, 2014 by Koilie
  • 7 posts

You must login to post a comment. Don't have an account? Register to get one!