LuaAPI.wiki
author Wuzzy
Fri, 19 Apr 2019 16:07:50 +0100
changeset 1831 365c30b4c669
parent 1807 7df2a9651b29
child 1833 9dcf9aab2dc9
permissions -rw-r--r--
LuaGears: Add temporary mistake to test documentation script

#summary API for writing Lua scripts in Hedgewars
#labels Featured

= Core Lua API documentation =

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

For a introduction into scripting, read [LuaGuide].

== Sections ==

The Lua API documentation is divided into the following sections:

 * [LuaGuide Beginner's guide]
 * [LuaOverview Overview]
 * [LuaGlobals Global variables and constants]
 * [LuaEvents Event handlers]
 * [LuaGameplay Gameplay functions]
 * [LuaGears Gear functions]
 * [LuaStats Stats functions]
 * [LuaGUI GUI functions]
 * [LuaAudio Audio functions]
 * [LuaUtil Utility functions]
 * [LuaLibraries Lua libraries]