View Single Post
11-11-10, 01:10 PM   #33
aX0rZ
A Murloc Raider
 
aX0rZ's Avatar
Join Date: Nov 2010
Posts: 6
Originally Posted by v6o View Post
As you change target nothing happens to the auras because the unit is still "target". You will need to force an update but you need to remember that you will have to do it from secure code.
Well how do i force an update? With SecureAuraHeader_Update()? That doesn't work infight, probably because my Event-Handler is not secure code. But how do you react to events in a secure environment? I also tried force an update with "header:SetAttribute("unit", header:GetAttribute("unit"))", because SecureAuraHeader_OnAttributeChange updates the header everytime an attribute is changed, which should be secure code since it's frome blizzard, but that didn't work.

Last edited by aX0rZ : 11-11-10 at 01:12 PM.
  Reply With Quote