equal
deleted
inserted
replaced
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 |