View Single Post
11/05/17, 10:37 AM   #2
Kyoma
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 125
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.
  Reply With Quote