Hooking Scripts on game frames

Hey everyone,

I’m trying to work on addons and I’m running into an issue.

When trying to hook a function onto an existing frame OnShow like “SouldbindViewer”, “GarrisonLandingPage” or “PlayerTalentsFrame”, it simply doesn’t work.

But it does work on my custom Frames or on other Frames like “ChatFrame1”. I’m wondering if I’m missing something here ?

Since posts can’t be deleted I wanted to show that I found the solution by asking on the wow interface forum.

So if anyone runs into the same issue :
You have to wait for the ADDON_LOADED event to happen and check if the Blizzard addon related is load (Blizzard_Soulbinds for the SoulbindViewer for example)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.