Quantcast LoTROInterface - View Single Post - How can i get moob name? Lotro -Plugin
View Single Post
Unread 02-27-2014, 10:15 AM
Garan's Avatar
Garan Garan is offline
The Undying
Interface Author - Click to view interfaces
Join Date: Oct 2010
Posts: 269
Originally Posted by ProgMaster
Thx for reply, BUT

Have you tried it yourself ?
For some reason i can handle TargetChange ONLY on myself, but i can't keep track of TargetChanges events for my fellows.

So im curious - is it just me or all have the same issue ?
Ah, sorry, one minor typo in the example, the line:
for index=1,party:GetMemberCount()-1 do

should be:
for index=1,party:GetMemberCount() do

That's what I get for playing around with too many languages

I notice one oddity with the sample, the events don't seem to fire until after the local client changes target once. After that they fire fine. That seems to be a new bug in the underlying client but I will have to do some more testing when I get time to determine the complete circumstances.

You should also note that GetTarget() will return nil if you are not close enough in the game world to the target. So, if you are separated by a significant distance from another player, the GetTarget() call for that player will return nil even though they have a target.

EDIT: It turns out the oddity of the event not firing initially seems to just be an issue with my secondary test box being an extremely old PC.

Last edited by Garan : 02-27-2014 at 10:36 AM. Reason: clarification
Reply With Quote