View Single Post
09-17-19, 08:15 PM   #6
kurapica.igas
A Chromatic Dragonspawn
Join Date: Aug 2011
Posts: 152
Originally Posted by Walkerbo View Post
Hi kurapica and Ketho

Sorry for the delayed reply, I am back on deck and ready to go.

You are both right the hook function is working perfectly, the issue was that I had not disabled the bag addon that I run, so a real boneheaded mistake.

My goal is to have a function run when the either the backpack, equipped bag, guild bank or the player bank open and close.

I want to hook that trigger but when I download and check other bag addons I have had very little success in understanding how and where they hook the function.

Is there a way to determine for each bag addon what or where the hooking function resides?
You can use /fstack to check the bag addon's frame name, and use frame:HookScript("OnShow", func) frame:HookScript("OnHide", func) to check them. It's more better than use secure hook.
  Reply With Quote