Quantcast Classic: UnitHealth() has large delay - how to avoid? - WoWInterface
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
09-04-19, 04:59 PM   #1
Basil2
A Deviate Faerie Dragon
Join Date: Feb 2015
Posts: 17
Classic: UnitHealth() has large delay - how to avoid?

It looks like that player's HP returned by UnitHealth() are updated with delay about 500 ms.

So when I handle UNIT_SPELLCAST_STOP event after succefull heal, UnitHealth() still returns old hp value for half second after cast!

My WoW ping is 40ms, and I have no such problem with actual WoW.

Any ways to avoid this problem?
  Reply With Quote
 

WoWInterface » Developer Discussions » General Authoring Discussion » Classic: UnitHealth() has large delay - how to avoid?

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off