WoW:Lua: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
{{wowlua}}
{{wowlua}}
'''Lua''' (from the Portuguese word for "moon"){{fact} is the scripting language used by ''[[World of Warcraft]]'' for [[Interface Customization]]. Only a subset of version 5.1 of the official Lua specification is implemented, and should suit most [[AddOns|addon]] maker's needs. More information about Lua can be found on the official Lua [http://lua-users.org/wiki/LuaFaq FAQ].
'''Lua''' (from the Portuguese word for "moon" {{ref2|Lua|PUC-Rio|publisher=PUC-Rio|title=About|date=2016-06-18|work=Lua |link=http://www.lua.org/about.html| accessdate=2016-06-18}}) is a scripting language used by ''[[World of Warcraft]]'' for [[Interface Customization]].
 
Only a subset of version 5.1 of the official Lua specification is implemented, and should suit most [[AddOns|addon]] maker's needs. More information about Lua can be found on the official Lua [http://lua-users.org/wiki/LuaFaq FAQ].


== Programming References ==
== Programming References ==
Line 20: Line 22:
* [[WoWBench]]: aims to be a near-complete emulation of the WoW environment
* [[WoWBench]]: aims to be a near-complete emulation of the WoW environment
* [http://luaforge.net/projects/lua-wow Lua 5.1.1 WoW]: distribution created by cogwheel that includes everything needed for addon development
* [http://luaforge.net/projects/lua-wow Lua 5.1.1 WoW]: distribution created by cogwheel that includes everything needed for addon development
== References ==
{{Reflist}}


== See also ==
== See also ==
Line 25: Line 30:
* [[Lua functions]] available in the World of Warcraft API
* [[Lua functions]] available in the World of Warcraft API
* [[User Defined Functions]] written by WoWWiki contributors
* [[User Defined Functions]] written by WoWWiki contributors
* [[Lua file]]
* [[Lua file]] - file format for a Lua file in a WoW AddOn
* [[Lua object memory sizes]]
* [[Lua object memory sizes]]
* [[World of Warcraft API]] - lists all functions provided by Blizzard.
* [[World of Warcraft API]] - lists all functions provided by Blizzard.

Revision as of 19:36, 23 June 2016

WoW Lua

Lua (from the Portuguese word for "moon" [1]) is a scripting language used by World of Warcraft for Interface Customization.

Only a subset of version 5.1 of the official Lua specification is implemented, and should suit most addon maker's needs. More information about Lua can be found on the official Lua FAQ.

Programming References

These are not so much guides or tutorials, but a place to look for information on the Lua language itself. The reader should be somewhat familiar with programming in general.

Official Reference Manual
contains syntax and basic commands, but is heavy-going for readers without a programming background (Luai: alternative way of browsing the manual)
Programming in Lua
the definitive Lua guide by Roberto Ierusalimschy. Online version
lua-users
Lua user group with a Wiki which includes a FAQ, tutorials and extended help on many topics. The group also hosts a mailing list (with past archive) and a IRC channel, #lua at irc.freenode.net. Lastly, their LuaLinks page is very extensive.

Lua Editors

While any text editor can edit Lua files, many contain additional Lua specific features.

Please see the list of Lua editors.

Using Lua for World of Warcraft

Related projects include:

  • WoWBench: aims to be a near-complete emulation of the WoW environment
  • Lua 5.1.1 WoW: distribution created by cogwheel that includes everything needed for addon development

References

  1. About, PUC-Rio, 2016-06-18, PUC-Rio, [1].

See also