Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
WoW
Talk
English
Views
Read
Edit
History
More
Search
Navigation
Home
Random page
Help using wiki
Editions
for WoW
for WildStar
for Solar2D
Documentation
for WoW
for WildStar
Reference
WoW
⦁ FrameXML
⦁ AddOns
⦁ API
⦁ WoW Lua
WildStar
⦁ AddOns
⦁ API
⦁ WildStar Lua
Engine
Tools
What links here
Related changes
Special pages
Page information
Site
Recent Changes
Editing
WoW:UI beginner's guide
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== The developer's point of view === AddOns mainly consist of two types of files: * [[Lua]] files, which contain the brunt of the logic * [[XML User Interface|XML]] files, which define how your dialogs, buttons, etc look. These elements are commonly referred to as "Widgets". You list these files in a [[The TOC Format|TOC]] (Table Of Contents) file together with some additional parameters. If you have programmed before, you may be used to having your program start, and keep running, until you don't want it to run any more. Not so in WoW. AddOns are ''event driven'', i.e. everything that happens does so in response to an event, e.g. the user clicking one of your buttons, the client receiving a chat message, someone hitting the character, etc. Those events are delivered to widgets, and to grab hold of them, you need to embed little snippets of Lua code in the right places that calls functions in the .lua files. It ''is'' possible to implement a whole addon in just the .xml files, but it gets clunky, and you need to HTML-encode < and > characters and so forth. Good places here on WoWWiki to look for more information: * [[Interface Customization]] * [[World of Warcraft API]] * [[XML User Interface]] * [[AddOns]] - a guide on how to create an addon from scratch * [[:Category:HOWTOs]] * [[XML Basic]] - needs help of pro addon developers to fill up reference External guides: * [http://wow.mmhell.com/articles/interface_modification/beginners_guide.html A Beginner's Guide to Interface Modification at mmhell.com] (Marian 'Fyrn' R, Aug. 2004) - out of date * [http://wow.mmhell.com/articles/interface_modification/writing_your_first_addon.html Your first AddOn at mmhell.com] - out of date
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)