--- a/LuaUtil.wiki Wed Apr 17 15:03:29 2019 +0100
+++ b/LuaUtil.wiki Wed Apr 17 15:04:18 2019 +0100
@@ -3,6 +3,8 @@
= Lua API: Utility functions =
This page is a list of utility functions in the [LuaAPI Lua API] and other functions that don't fit anywhere else.
+<wiki:toc max_depth="3" />
+
== File system functions ==
=== <tt>!HedgewarsScriptLoad(scriptPath [, mustExist])</tt> ===
Loads a script (i.e. a [LuaLibraries library]) from the specified `scriptPath`. The root directory is here Hedgewars’ data directory. There will be a Lua error if the script does not exist.