--- a/LuaAPI.wiki Mon Sep 03 04:07:58 2018 +0100
+++ b/LuaAPI.wiki Mon Sep 03 18:54:06 2018 +0100
@@ -202,6 +202,8 @@
It is useful for scripts which create their own maps (see `AddPoint` and `FlushPoints`). If you create a map in this function, a preview will be generated from this map and is exposed to the frontend.
+Note the variables `LeftX`, `RightX`, `TopY`, `LAND_WIDTH` and `LAND_HEIGHT` are *not* yet available at this stage!
+
=== <tt>onParameters()</tt> ===
This function is called when the script parameters (as specified in the game scheme) become available. The script parameter string is stored in the global variable `ScriptParam`.