Lua
| Main Page Other languages: English • German • FrenchArcEmu Website ArcEmu Forum Bug Tracker |
Information About Lua
Lua is a versatile programming language with a simple syntax. Although many people consider Lua an interpretive language, this is incorrect as Lua compiles its scripts when they are loaded. Because Lua can easily be embedded into applications, it is frequently used in games, such as World of Warcraft, Far Cry, Baldur's Gate, Garry's Mod and Warhammer titles.
See the official Lua website for more information. http://www.lua.org/
Please make sure to choose the correct Lua section. Use the ALE (Arcemu Lua Engine) section if you are using LuaEngine.dll and the LuaBridge section if you are using luabridge.dll. Check your `modules` folder if you are unsure of what engine you are using.
|
Tutorials and Resources
|
ALE (Arcemu Lua Engine) Documentation
|
LuaBridge Documentation
|
You may find some of these terms within the Wiki pages.
Unit: A Creature or Player.
Creature: A Mob[ile] Unit. Also known as an NPC (Non-Player Character)
Gossip: Menus that allow you to interact with the Player.
Phase: A unique instance of the Game World.
Method: Also commonly known as a Function or Command. This is the correct word for it - Method adopts a more Object-Orientated view on Lua, which is what we want.
Function: A block of code in Lua.
Command: Usually assumed to be any Lua Method, it is incorrect terminology. It is not a command.
Statement: A piece of code that performs a single action.
Expression: A statement that evaluates true or false.