Highlighting lifebloom with pandemic
View Single Post
06-04-18, 02:45 AM
A Frostmaul Preserver
Join Date: Jun 2016
If you wanted (needed?) it to update every frame, wouldn't it be easier to just hook TargetFrame_OnUpdate and CompactUnitFrame_OnUpdate?
Just be careful that your code not be too demanding so that having it run every frame doesn't risk causing performance issues, and it should be okay. It's not usually recommended to hook OnUpdate, and maybe there's a better solution, but if you absolutely
it to run every frame then OnUpdate is your solution (that's what OnUpdate does, after all.)
You could throttle it within the hook function if you needed to, to make it run only every other frame, which may help if performance ever became an issue.
Last edited by Ammako : 06-04-18 at
View Public Profile
Send a private message to Ammako
Find More Posts by Ammako