O'Reilly logo

Beginning Lua with World of Warcraft Addons by Paul Emmerich

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

C H A P T E R  12

image

Macros

For anyone learning Lua to get the most out of WoW, it's a safe bet you already have a few macros in your action bars. They can be incredibly useful when you want to perform complex tasks like casting different spells on different targets based on conditions, with just one button. Such conditions can also be quite complex; for example, you can detect whether your current target is hostile or friendly, alive or dead.

If you currently do have any macros in your action bars, did you create them yourself or did you copy and paste them from somewhere? If you created them yourself, did you know exactly what you were doing? ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required