Quantcast
WoWInterface - View Single Post - LUA CreateFrame, then RemoveFrame??
View Single Post
08-22-14, 10:35 AM   #12
Choonstertwo
A Chromatic Dragonspawn
 
Choonstertwo's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2011
Posts: 194
Originally Posted by RyinntheDK View Post
Does anyone recommend a good place to learn LUA, like tutorials?
For the language itself, you can try some of the stuff on this page, though I'm not sure how up to date it is.

Keep in mind that WoW uses Lua 5.1, the most recent release version of Lua is 5.2. The two are mostly similar, but there are some major differences like the concept of function environments (getfenv/setfenv in 5.1 vs _ENV in 5.2). Function environments are a fairly advanced feature that you're not likely to use very often, though.

The official reference manual is quite useful, but it's not a tutorial.

As for WoW-specific stuff, there's a few tutorials here. There's also this book, but I haven't bought it myself so I can't say how useful it is.

There's also a bunch of handy links in this sticky.

When I was learning Lua, I mostly just learned the various features of the language as I needed them by a combination of trial and error, reading existing code and reading the documentation (the official reference manual or the WoW API Reference as appropriate).
  Reply With Quote