# HG changeset patch # User RedGrinner@gmail.com # Date 1316956862 0 # Node ID 538adf2596b53c1b7157420a4fd58c1276f41330 # Parent 124b11219537838fc509142dd9ab1247b8c8dd4f Edited wiki page LuaAPI through web user interface. diff -r 124b11219537 -r 538adf2596b5 LuaAPI.wiki --- a/LuaAPI.wiki Sun Sep 25 13:18:08 2011 +0000 +++ b/LuaAPI.wiki Sun Sep 25 13:21:02 2011 +0000 @@ -316,9 +316,9 @@ !SetVisualGearValues(circleUid, 1000,1000, 20, 200, 0, 0, 100, 50, 3, 0xff0000ff) -=== !FindPlace(gearUid, fall, left, right) === +=== !FindPlace(gearUid, fall, left, right, tryHarder) (0.9.16) === -
Finds a place for the specified gear between x=left and x=right and places it there. +
Finds a place for the specified gear between x=left and x=right and places it there. 0.9.16 adds an optional fifth parameter, tryHarder. Setting to true/false will determine whether the engine attempts to make additional passes, even attempting to place gears on top of each other.
Example: