{% extends '_base.html' %} {% block document_title -%} ALE API Documentation {%- endblock %} {% block content %}

The ALE Lua Engine© API

The ALE Lua Engine© API allows you to add your own Lua code to be executed when certain events (called "hooks") occur.

Add a new in-game command, give life to creatures with new AI, or even light players who try to duel on fire! If the hook exists, you can script it.

About ALE

ALE is a Lua engine for World of Warcraft emulators. These pages are for AzerothCore's version, but ALE also supports CMaNGOS/MaNGOS and TrinityCore.

If you come from the TypeScript / JavaScript world, or would prefer to use a typed language instead of Lua, check out ale-ts!

You can get support in the #ale-ac channel of AzerothCore's Discord server.

How to Install

  1. If you haven't already, clone AzerothCore from our GitHub repository
  2. Go to the modules directory and run the following command:
    git clone https://github.com/azerothcore/mod-ale.git mod-ale
  3. Run CMake
  4. Build AzerothCore

About this Documentation

The layout, CSS, and Javascript code for this documentation was borrowed from doc.rust-lang.org.

The documentation generator was originally written by Patman64 and is maintained by the ALE team.

Classes

{%- for class in classes %} {%- endfor %}
{%- if class.fully_documented %} {%- elif class.fully_undocumented %} {%- else %} {%- endif %} {{ class.name }}

{{ class.short_description|parse_links }}

{% endblock %}