lesnohouse.blogg.se

World of warcraft how to add addons
World of warcraft how to add addons









world of warcraft how to add addons

Not everything is documented so we generally look through the code from Blizzard or other addons. If you don't know what a specific API does it's best to just reference it in FrameXML. Export, clone, download or bookmark Blizzard's user interface code a.k.a.There is the /dump slash command for general debugging, /etrace for showing events and /fstack for debugging visible UI elements.Get an error reporting addon like BugSack or turn on /console scriptErrors 1.When updating addon code use /reload to test the new changes, you may want to put it on a macro hotkey as well as temporarily disabling any unnecessary addons that would increase loading time.World of Warcraft\_retail_\Interface\AddOns\HelloWorld

world of warcraft how to add addons

Go to your AddOns folder and create a new folder with the following files:

world of warcraft how to add addons

We won't be using XML since most things that are possible in XML can also be done in Lua. To quickly turn scripts like this into an addon, just remove the "/run" part and paste it into Creating an AddOnĪn addon consists of Lua/XML files and a TOC file. You can execute Lua scripts from the chat window or in a macro with the /run or /script command.

  • A simple text editor like VS Code or Notepad++.
  • You need a basic understanding of Lua, otherwise see Introduction to Lua or other tutorials.










  • World of warcraft how to add addons