Not a problem. I ran into a similar thing with party member's levels. I was originally trying to retrieve the information when the PARTY_MEMBERS_CHANGED event fired, but the client didn't have the information yet so it was returning 0. UNIT_LEVEL generally fires a tenth of a second later, but keep in mind that the LUA engine is NOT multithreaded. Or at the very least, the event portion is not.
|