Thread: Event Chaining
View Single Post
04/14/14, 08:56 PM   #6
Kith
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 49
You could try using the ZO built in prehook. As far as I know there is no posthook though so it'll run before the default code does
Lua Code:
  1. ZO_PreHookHandler(ZO_PlayerInventoryTabsButton7, 'OnMouseUp', function(...)
  2.     -- do your stuff here, the ... is the variables passed
  3. end)
  Reply With Quote