View Single Post
11/05/17, 10:41 AM   #3
static_recharge
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 32
Originally Posted by Kyoma View Post
Hmmm, don't know how ZO_InventorySlot_DiscoverSlotActionsFromActionList populates the context menu but ShowPlayerContextMenu clears the menu when it is called. As such your prehook function is called first, you add the menu item, then it is cleared before the game populates it with the player context. You'll probably want to use zo_callLater with like a 20-50ms delay.
ZO_InventorySlot_DiscoverSlotActionsFromActionList populates the inventory context menu. As for clearing the menu I never thought about that, thanks! I would really like to do it withouth adding a delay though. Hmm.
  Reply With Quote