View Single Post
11-12-13, 05:27 AM   #5
Oppugno
A Fallenroot Satyr
Join Date: Sep 2012
Posts: 22
@zork: Unfortunately just hooking OnShow won't work for this implentation. Your nameplates and therefore castbars are hidden and shown every frame so the OnShow handler is run on every frame the cast bar is active. (I found that out the annoying way when I implemented my own like that)

As for a nicer solution than what I posted before, why not just set the two TOPLEFT and TOPRIGHT anchors and instead of setting the height of the bar set a BOTTOM anchor with the correct offset?
  Reply With Quote