Quantcast LoTROInterface - View Single Post - How can i get moob name? Lotro -Plugin
View Single Post
Unread 02-28-2014, 06:48 AM
Garan's Avatar
Garan Garan is offline
The Undying
Interface Author - Click to view interfaces
Join Date: Oct 2010
Posts: 270
OK. What is happening is that Turbine has enforced an additional restriction so that Lua can only be aware of what the client would natively be able to display. The Actor.TargetChanged event and Actor:GetTarget() method are only valid if the Actor is either the local player, the target of the local player or a party member that is also a raid target assist.

So, you can see a party member's target and get target changed events if the party member is also a raid target assist since the built-in raid assist window would also display that information but you can not see a non-target assist target unless you are currently targeting the player thus enforcing the same restrictions that the native displays enforce.

FWIW, I don't particularly like this restriction, but now that I see the conditions I can see why Turbine implemented it this way to restrict Lua to only the information that would be available to a player using the built-in interface.

Last edited by Garan : 02-28-2014 at 06:52 AM.
Reply With Quote