Im sorry, but I cant figure out how ENtity control works.
Here's the code that I found
Code:
self.select = Turbine.UI.Lotro.EntityControl();
self.select:SetParent(self);
self.select:SetPosition(0, 0);
self.select:SetMouseVisible(true);
self.select:SetEntity(actor);
self.select:SetSelectionEnabled(true);
self.select:SetContextMenuEnabled(true);
self.select:SetSize(self:GetSize());
self:SetMouseVisible(true);
I don't know how to get the actor for self.select:SetEntity(actor);
I tried setting Turbine.UI.LocalPlayer, but it didn't work. How can I get target to work?