View Single Post
06-30-11, 11:16 PM   #2
Kentwo
A Murloc Raider
Join Date: Jun 2011
Posts: 4
Just wanted to make a post reg. this since I coded a Unheeded Warning procc myself, Its based on a Code that Midna wrote for tracking predator swiftness procc so cheers for that, anyways here is the code, hope it will help someone with simular request as mine,

Code:
-- Unheeded Warning tracking code by Kentwo


PSF=CreateFrame("FRAME")
PSF:RegisterEvent("UNIT_AURA");
PSF:SetScript('OnEvent',function() 
  o=0 
  for i=1,40 do 
    _,_,_,_,_,_,_,_,_,_,id=UnitAura("Player",i) 
      if id==92108 then SpellActivationOverlay_ShowOverlay(SpellActivationOverlayFrame,92108,"TEXTURES\\SPELLACTIVATIONOVERLAYS\\SHOOTING_STARS.BLP","BOTTOM",1,255,10,10,false,false) 
        o=1 
      end 
    end 
    if o==0 then SpellActivationOverlay_HideOverlays(SpellActivationOverlayFrame,92108) 
  end 
end)
Anyone have an Ide if the other two are even possible?
  Reply With Quote