-
Posted by pahbi on Wed, 28 Oct 2009 21:43:22
I'm really eager to write my own addons. After reading through most of the wow programming book, I'm starting to get the hang of it.
What I'm hoping for is if maybe someone could modify the hello world addon in chapter 14 to do these four things:
1) Open the hello world frame when a user clicks on the auction house npc. 2) Register the addon to respond to events. 3) Close the hello world frame when the user closes the auction house frame. 4) Unregister the addon so it doesn't respond to events.
I hope I got #2 and #4 right. The book says when you hide a frame, you should unregister its events so it doesn't consume cpu cycles.
Thanks, Pahbi