Back to homepage
API for writing Lua scripts in Hedgewars
Updated Mon, 12 Oct 2020 02:08:51 +0200 by Wuzzy

Core Lua API documentation

The Lua API in Hedgewars allows creating all scripted content in Hedgewars. Lua handles missions, styles and more. If you want to create your own missions, this is the place to start.

For a introduction into scripting, read LuaGuide.


The Lua API documentation is divided into the following sections:

Undocumented functions

We try to keep the wiki up-to date as fast we can, but recent additions to the Lua API might be undocumented. We have a script that checks the wiki automatically for undocumented functions: