SetMaxBuildDistance
authorWuzzy
Wed, 09 Sep 2015 09:27:39 +0000
changeset 608 9a49d69316f2
parent 607 dde757edd995
child 609 688158bfc7f7
SetMaxBuildDistance
LuaAPI.wiki
--- a/LuaAPI.wiki	Wed Sep 09 06:26:40 2015 +0000
+++ b/LuaAPI.wiki	Wed Sep 09 09:27:39 2015 +0000
@@ -795,6 +795,9 @@
 ==== <tt>!SetWind(windSpeed)</tt> ====
 Sets the current wind in the range of -100 to 100. Use together with `gfDisableWind` for full control.
 
+==== <tt>!SetMaxBuildDistance(distInPx)</tt> (0.9.22) ====
+Sets the maximum building distance for of girders and rubber bands in pixels to `distInPx`. If `distInPx` is `0`, the limit is disabled. If `distInPx` is `nil`, the distance will be reset to the default value.
+
 ==== <tt>!EndGame()</tt> ====
 Makes the game end.