Open ObliqueBoredom opened 2 years ago
@ObliqueBoredom I'm not sure if it would be possible to dynamically add and remove options while the menu is open. According to the RuneLite Client API docs, setMenuEntries should typically be used in the context of the MenuOpened event.
Maybe possible to check if the key is currently held down when the user right-clicks instead of dynamically adding/removing from the menu when it's already opened?
Yeah, Caleb pretty much nailed it, just want the option not to be there in normal use, but show up in the menu if I'm pressing a certain key before/during right clicking. Also thanks for hearing me out.
p.s. also remembered the ground markers plugin does the function i was asking. while holding shift click the "mark tile" option shows up on ground right clicks.
Don't know if its possible, but would be a nice feature to have the option for the menu to only show up while holding shift (or a similar key). would be nice to de clutter right click menu.