View Single Post
11-09-05, 02:38 PM   #11
noraj
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: Jul 2005
Posts: 102
maybe toss in a

if(UnitName("PartyN") ~= "Unknown Entity") then
--Update your player frame names
else
while UnitName("PartyN") == "Unknown Entity" do end
--Update your player frame name
end

although thats going to lock up your system while it tries to get the actuall name(and if someone is actually named Unknown Entity theyre screwed

prolly a better way to accomplish it in the on update function rather than locking up your system

It might even crash wow

test it by doing a /script DEFAULT_CHAT_FRAME:AddMessage(UnitName("PartyN") for one of the party members thats displayed as Unknown Entity

[edit] in all honesty your prolly alot more proficient at LUA than me.
  Reply With Quote