Hooking Blizzard Widgets/Functions
For those of you who don't know this already.
It is possible to hook functions like "SetAlpha", "SetVertexColor" or "SetPoint" for a specific frame/button. This comes in very handy if you rewrite Blizzard stuff and want to make sure it stays the way you want it. Thanks to "hooksecurefunc" it won't cause tainting aswell. Code:
---------------------- Think of a frame that you want to stay at Alpha(0.2) but Blizzard always sets it to Alpha(1), so just hook SetAlpha() and you can set it to "0.2" again. |
Quote:
|
Can you use this to get the Duration of Debuffs on your target and put them somewhere else? Or should I just write it separately and not worry about hooking Blizzards code?
|
Debuffs are handled by the UnitAura event and your debuff could by any of target debuff buttons. You want http://www.wowinterface.com/download...-rFilter2.html or a mod alike.
|
All times are GMT -6. The time now is 03:46 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI