1. Hi, really enjoying the book so far, but just getting started with the actual writing of addons, and i was kinda wondering.. Do I write in wowlua, or do i have to edit my code outside of the game ? I don't seem to be able to save my lua code from inside wowlua. Do i use Wowlua for the xml files too ?

    Hi, really enjoying the book so far, but just getting started with the actual writing of addons, and i was kinda wondering.. Do I write in wowlua, or do i have to edit my code outside of the game ? I don't seem to be able to save my lua code from inside wowlua. Do i use Wowlua for the xml files too ?

    The WowLua addon is mostly a tool for testing or writing simple scripts that you want to run while in-game. In the context of the book, we use it as a convenient way to show short examples without having to create all the infrastructure that goes along with addons (all the folders, text files, etc.) When you get to the chapter on anatomy of an addon, you'll see what goes into making a fully-fledged addon. Addons themselves can only save data through the saved variables mechanism (also covered in later chapters) which is why you can't use WowLua to save files for your own addons.