LuaUtil.wiki
changeset 1801 efa4f04f15eb
parent 1763 3fa6a8bbf260
child 1805 d18970cf6ca2
equal deleted inserted replaced
1800:3e761893a2e9 1801:efa4f04f15eb
     1 #summary List of utility functions in the Lua API
     1 #summary List of utility functions in the Lua API
     2 
     2 
     3 = Lua API: Utility functions =
     3 = Lua API: Utility functions =
     4 This page is a list of utility functions in the [LuaAPI Lua API] and other functions that don't fit anywhere else.
     4 This page is a list of utility functions in the [LuaAPI Lua API] and other functions that don't fit anywhere else.
       
     5 
       
     6 <wiki:toc max_depth="3" />
     5 
     7 
     6 == File system functions ==
     8 == File system functions ==
     7 === <tt>!HedgewarsScriptLoad(scriptPath [, mustExist])</tt> ===
     9 === <tt>!HedgewarsScriptLoad(scriptPath [, mustExist])</tt> ===
     8 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.
    10 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.
     9 
    11