tutabroad.blogg.se

Vanilla wow addons 2019
Vanilla wow addons 2019








Responding to events Main article: Handling eventsĪlmost every action in the game is an Event which tells the UI that something happened. For VS Code the Lua extension by Sumneko adds IntelliSense features like code completion.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 Go to your AddOns folder and create a new folder with the following files:

vanilla wow addons 2019 vanilla wow addons 2019

We won't be using XML since most things that are possible in XML can also be done in Lua.

vanilla wow addons 2019

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.









  • Vanilla wow addons 2019