--- a/LuaAPI.wiki Mon Mar 28 20:50:02 2016 +0100
+++ b/LuaAPI.wiki Mon Mar 28 20:59:22 2016 +0100
@@ -14,7 +14,7 @@
<wiki:toc max_depth="4" />
-== Overview ==
+== Overview ==f
=== How Hedgewars handles Lua scripts ===
As of Version 0.9.20, Hedgewars supports Lua scripts for two similar tasks: Define tutorial missions, campaign missions or provide special map behaviour for precreated maps. It is also used for multiplayer scripts to create new game styles.
@@ -1232,6 +1232,11 @@
== Debugging Functions ==
+=== `WriteLnToConsole(string)` ===
+Writes `string` to `Logs/game0.log`, found in the user data directory.
+
+=== `DumpPoint(x, y)` (0.9.23) ===
+Writes the numbers `x` and `y` to `Logs/game0.log, one line each.
=== <tt>!ParseCommand(string)</tt> ===
Makes the game client parse the specified custom command.
@@ -1244,5 +1249,3 @@
This will allow scripts to use the previously missing feature in a way that won’t break!
-=== `WriteLnToConsole(string)` ===
-Writes `string` to the `Logs/game0.log`, found in the user data directory.