1. #1

    Having trouble making Weak Aura

    I am trying to make a weak aura that shows when I am interrupted, cast is cancelled, etc for a few seconds then dissapears. Right now I have a weak aura I imported that is a cast bar. I dont want the cast bar so i set the alpha to the bar to 0 and put in the model and "interrupted text" everything works how I want it except if I, for example spam fel rush it keeps popping up as "interrupted". even though this is a instant cast spell and even if its on cd.

    Triggers
    Required for activation: any triggers
    Dynamic Information from any active triggers

    Trigger 1: custom
    Event type: event
    Events: UNIT_SPELLCAST_FAILED UNIT_SPELLCAST_INTERRUPTED UNFIRE_TRIGGER

    Custom Trigger: function(event, unit)
    if unit == "player" then
    C_Timer.After(1, function() WeakAuras.ScanEvents("UNFIRE_TRIGGER") end)
    return true
    end
    end

    Custom Untrigger: function(event)
    return event == "UNFIRE_TRIGGER"
    end

    Duration info: function()
    return aura_env.region.bar:GetValue(), 1, true
    end

    Trigger 2: cast
    Trigger 3: Global Cooldown


    Conditions
    If Trigger 1 = active;true, model 1, text 1 show

    If Trigger 2 = active;true, model 1 hide, text 1 hide

    If trigger 3 = active; true, model 1 hide, text 1 hide


    I use another weak aura for my cast bar, this is basically a bar beneath my cast bar. The first trigger is so it only pops up when interrupted OR cancelled, the second is so the bar dissapears if i start recasting another spell, the third just kinda helps it stop popping up if im spamming a spell.

    If someone wants to look at it and see what im doing heres the import string. This stuffs confusing.


    !WA:2!1z1tVTrUvCROUWacfTjkBCYIgGk4f1WErYyl7SE3e0KSACKTuQJS3rYjz76ujoZqPHXJ4mGKJTLrXcuDOih6 jJEVa6qpTfOqhAo12u32llYbcH(jqOOFam690h5m6poavh0q(i5JV3p(E)EVuBMTDw3SUVQqpEiIDWZiUcVR1J4eqR geXCW3CMbOiHxaBNqbjGYZ0h5(YiUa7(e0XxI1zNMn5yrP3q)nV97E7B)79ruhyZ7gqOc7nkwPwrRbAfBfiqkfKA1i MF4pYtic53B5Lpc1kWGeSC1h)zB26oDE5Zxopd5OVP1T4cetKXKqjIm2nHpCVmAtRUtGFa7XPHFdXuKTpElgYLGPcV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)
    Last edited by Bandit446; 2025-01-18 at 06:37 AM.

  2. #2
    Remove the UNIT_SPELLCAST_FAILED event.

    That was useful for the cast bar weakaura you took this from, since a stopped cast is just as much of a fail as an interrupted one. However, that event happens every time you try to cast something that won't cast, such as mashing a button.
    Originally Posted by Zarhym (Blue Tracker)
    this thread is a waste of internet

  3. #3
    I was hoping id be able to have it show on stopped casts as well. But maybe ill have to go without that. Unless theres a way i can make it so it doesnt apply if cast time <= 0.1 second

    - - - Updated - - -

    I think i can change spellcast_failed to spellcast_stop and remove the gcd condition and trigger since it wont be needed and add condition to hide for spellcast_succeeded but ill have to check when i get home

    - - - Updated - - -

    Nvm did exactly what you said and it works the way i wanted. Didnt need to do anything else
    Last edited by Bandit446; 2025-01-18 at 09:56 PM.

Posting Permissions

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