# HG changeset patch # User Wuzzy # Date 1555509858 -3600 # Node ID efa4f04f15eb93cc7eac768af7c30a520ab60c35 # Parent 3e761893a2e9f2ce37e494b66c5805ac8a3478b0 LuaUtil: Add TOC diff -r 3e761893a2e9 -r efa4f04f15eb LuaUtil.wiki --- 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. + + == File system functions == === !HedgewarsScriptLoad(scriptPath [, mustExist]) === 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.