World of Warcraft Programming Site Logo
  • Store
  • About
  • Utils
  • Snippets
  • Forums
  • Chapters
  • Reference
  • Home
  • Page 211: Table 14-3 should have "Close" as its text instead of "Hello World!"

  • Page 211: The code example under Listening to Events should be as follows:

    function helloWorldFrame_OnLoad(frame)
        frame:RegisterEvent("PLAYER_TARGET_CHANGED");
    end
    
  • Page 213: The code example listed under Add the Close Button Code should be as follows:

    function closeButton_OnClick(frame)
        frame:Hide()
    end
    
  • About
  • Privacy Policy
  • Terms of Service

World of Warcraft™ and Blizzard Entertainment™ are trademarks or registered trademarks of Blizzard Entertainment, Inc. in the U.S. and/or other countries. The original materials contained in the API Reference section of this website are copyright John Wiley & Sons. Other copyrights on this page are owned by their respective owners. All other content © 2008-2021 wowprogramming.com.