49
edits
| Line 20: | Line 20: | ||
* [[WoW AddOn]] - These pages explain the basic structure of a WoW AddOn. | * [[WoW AddOn]] - These pages explain the basic structure of a WoW AddOn. | ||
* [[World of Warcraft API]] - These are the functions and ways to talk to WoW with Lua. | * [[World of Warcraft API]] - These are the functions and ways to talk to WoW with Lua. | ||
* [[Curse]] - Find a real but simple example of an existing AddOn. | * [[Curse Forge]] or [[WoW Interface (site)|WoW Interface]] - Find a real but simple example of an existing AddOn. Most real AddOns, even the simple ones, however can be difficult to read for getting started, with many moving parts. | ||
* [[Lua editors]] - A long list of code editors and other tools often used by other AddOn creators. | * [[Lua editors]] - A long list of code editors and other tools often used by other AddOn creators. | ||
| Line 75: | Line 75: | ||
=== XML Files === | === XML Files === | ||
XML files | XML files can be used to specify the visual style of your frames. More importantly though a frame allows you to easily pass events to your Lua files. [[Frame XML]] files are how [[Blizzard]] defines most of their own UI windows in the game. Check out [[XML User Interface]] for details. Here's a short example of an XML file: | ||
<Script file="MyAddon.lua"/> | <Script file="MyAddon.lua"/> | ||
| Line 126: | Line 126: | ||
After learning all of the basics, there are times where you may want to see how the Blizzard UI code works to help you in making your own AddOn. And getting information on how the WoW UI works can be helpful to making your AddOn function. | After learning all of the basics, there are times where you may want to see how the Blizzard UI code works to help you in making your own AddOn. And getting information on how the WoW UI works can be helpful to making your AddOn function. | ||
See [[Extracting interface files]] for getting the Blizzard UI AddOn source code which can also be used as a reference. | See [[Extracting WoW user interface files]] for getting the Blizzard UI AddOn source code which can also be used as a reference. | ||
=== Localization === | === Localization === | ||