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: