View Single Post
  #7  
Unread 10-06-2022, 05:24 PM
Garan's Avatar
Garan Garan is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Oct 2010
Posts: 340
Quote:
Originally Posted by Flan
Hey Garan
Thank you for your reply!

I had a thorough look through your docs and couldnt find a solution.

If i use the Get and Set entity does that overwrite the already implemented layout when pressing right click or would i have to delete those lines and add your code you posted?
By "my docs" I was referring to my local copy of the API docs which can be downloaded from lotrointerface. I think the latest version is at:
https://www.lotrointerface.com/downl...mentation.html

GetEntity will return the Entity object that is currently assigned to the control. SetEntity sets the Entity for which the control should provide a context sensitive menu. The control uses the underlying client object to determine the type of entity and displays the correct menu when you right click the control.

Last edited by Garan : 10-06-2022 at 05:26 PM.
Reply With Quote