View Single Post
04-04-13, 04:23 PM   #20
Rainrider
A Firelord
AddOn Author - Click to view addons
Join Date: Nov 2008
Posts: 454
Phanx, that was exactly my point, I'm sorry if I expressed it wrongly. I asume the Blizzard event dispatcher is C coded, but they set an OnUpdate script for the stock frames instead of registering UNIT_HEALTH_FREQUENT. Why would they do that? The only reason I could think of would be that UNIT_HEALTH_FREQUENT does not work like other events and simply sets an OnUpdate script on the frame it gets registered to. Hm, would that be what Zork suspects which I didn't understand in my previous post? Apart from that, OnUpdate is also a kind of event handler reacting to the event of refreshing the screen, isn't it? Please excuse me for drifting away from the thread topic.
  Reply With Quote