# HG changeset patch # User Wuzzy # Date 1555508174 -3600 # Node ID b549350dca64bf6fe98a0fdf56e7661acd20408f # Parent 3182a44b158e57eb4c14ec03edb23bb56444c8eb LuaGears: Update arg names for CopyPV diff -r 3182a44b158e -r b549350dca64 LuaGears.wiki --- a/LuaGears.wiki Wed Apr 17 14:32:17 2019 +0100 +++ b/LuaGears.wiki Wed Apr 17 14:36:14 2019 +0100 @@ -143,8 +143,8 @@ === `SetGearVelocity(gearUid, dx, dy)` === Gives the specified gear the velocity of `dx`, `dy`. -=== `CopyPV(gearUid, gearUid)` === -This sets the position and velocity of the second gear to the first one. +=== `CopyPV(fromGearUid, toGearUid)` === +When given two gears as arguments, this sets the position and velocity of `toGearUid` to the position and velocity of `fromGearUid`. === `FindPlace(gearUid, fall, left, right[, tryHarder])` === Finds a place for the specified gear between x=`left` and x=`right` and places it there. `tryHarder` is optional, setting it to `true`/`false` will determine whether the engine attempts to make additional passes, even attempting to place gears on top of each other.