I haven't played with it in a while, but what you want is a Turbine.UI.Lotro.Entity control. For some reason, my docs are missing the GetEntity and SetEntity methods of the control, but they return/take an Entity object. In your case you want to pass the local player, so:
myEntity=Turbine.UI.Lotro.Entity()
myEntity:SetEntity(Turbine.Gameplay.LocalPlayer:Ge tInstance())
-- note, you obviously have to set the control on a window and size it properly, etc.
The Entity control will provide context sensitive menus based on which entity is passed to SetEntity()
|