Reply
Thread Tools Display Modes
Unread 11-09-05, 07:08 PM   #21
Esamynn
Featured Artist
Premium Member
Featured
Join Date: Jan 2005
Posts: 392
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.
Esamynn is offline   Reply With Quote
Unread 11-10-05, 12:05 AM   #22
Global
A Flamescale Wyrmkin
 
Global's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2005
Posts: 95
just an update, finally got some testing in, and the event is definately the way to go. thanks for the help from both of you on this issue. glad to finally have the last bug fixed from this mod update project
Global is offline   Reply With Quote
Reply

Go BackWoWInterface » Developer Discussions » Lua/XML Help » UnitName() returning "Unknown Entity"

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