Skip to content

AI Agent Reference

This document provides complete information about the CONTROL Lua scripting engine for Age of Empires II: Definitive Edition. Provide the full reference to a coding agent (Cursor, Copilot, ChatGPT, etc.) to help users with limited Lua knowledge quickly build modules.

Target: Coding agents assisting users to write CONTROL Lua modules. The agent should use this as the sole source of truth for engine behavior and API.

Quick access for coding agents

Get the full reference text to paste into your coding agent:

Download CONTROL_LUA_ENGINE_REFERENCE.md