LuaEvents: Add TOC
authorWuzzy
Wed, 17 Apr 2019 12:54:45 +0100
changeset 1756 66b51b8ba202
parent 1755 b3ce3b8bc36d
child 1757 2c7eba50e7b0
LuaEvents: Add TOC
LuaEvents.wiki
--- a/LuaEvents.wiki	Wed Apr 17 12:54:04 2019 +0100
+++ b/LuaEvents.wiki	Wed Apr 17 12:54:45 2019 +0100
@@ -5,6 +5,8 @@
 
 This page is a list of all supported event handlers in Hedgewars.
 
+<wiki:toc max_depth="2" />
+
 == <tt>onGameInit()</tt> ==
 This function is called before the game loads its resources. One can read and modify various [LuaGlobals#Game_variables game variables] here. These variables will become globally available after `onGameInit` has been invoked, but changing them has only an effect in `onGameInit`.
 Most game variables are optional, but for missions, `Theme` must be set by the scripter if you want to use a random map, rather than an image map. All other variables do not need to be set by the scripter and have default values.