1. #1

    WeakAuras: Travel Form differentiation

    I'm trying to make an aura that shows only when I'm in aquatic travel form, another one for flying travel form, and one for ground travel form. Spell ID doesn't seem to distinguish between the three forms since they're all the same spell. Is there a way around this?

  2. #2

  3. #3
    Quote Originally Posted by Birgwow View Post
    Trying again
    One way to differentiate between flight and swimming is to use the various restrictive environment API:

    Event Type: Status

    Check On: Every Frame

    Trigger:
    Code:
    function()
    if IsFlying()
    return true
    end
    Untrigger:
    Code:
    function()
    return true
    end
    You can do the same for IsSwimming(). One caveat though, is that these environment API are very specific. Like, you can be at the surface of the water and it would still count as flying. I think for that case, you'd use something like IsSubmerged(). I might have mixed those up but you get the idea. Play around with it to get the results you need. Happy modding, brochacho!
    Last edited by magicaldandruff; 2016-08-18 at 06:38 AM. Reason: code spacing and stuff

  4. #4

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •