Originally Posted by Psoewish
Thanks for that website syzgyn, I've been looking to get started on addons as well, but had no clue where to start either, that seems like an awesome place to start
|
I love your avatar BTW. starfish > dangos
</ot>
Anyway...since the OP asked whether you need .xml -- and that tutorial basically says that you do -- you actually don't. You can just list the .lua file in your .toc directly without having to have a <script> tag in XML somewhere. Mostly, XML is used for laying-out UI objects/frames but you *can* do that in Lua...
see:
http://www.wowwiki.com/World_of_Warc...ame_Management
although, I personally prefer to use XML, since it just seems like a clearer way to do layout, and separates it from the functional code stuff. There are a few things that you can do with Lua that you can't do with XML, but if you're just starting out I don't think it's important to worry about that.