small fixes
authorsheepyluva@gmail.com
Wed, 04 Dec 2013 13:11:28 +0000
changeset 360 2fcb523f0cc4
parent 359 418173e7af7a
child 361 315e9db1f458
small fixes
LuaAPI.wiki
--- a/LuaAPI.wiki	Tue Dec 03 23:53:43 2013 +0000
+++ b/LuaAPI.wiki	Wed Dec 04 13:11:28 2013 +0000
@@ -589,12 +589,12 @@
 <blockquote>Sets the timer of the specified gear. Also see !GetTimer.
 </blockquote>
 
-=== <tt>!SetHogLevel(gearUid)</tt> ===
+=== <tt>!SetHogLevel(gearUid, level)</tt> ===
 
 <blockquote>Sets the bot level from 0 to 5. 0 means human player.
 </blockquote>
 
-=== <tt>!SetGearPos(gearUid,value) (0.9.18-dev)</tt> ===
+=== <tt>!SetGearPos(gearUid, value) (0.9.18-dev)</tt> ===
 
 <blockquote>Set pos of specified gear to specified value.</blockquote>
 
@@ -638,9 +638,9 @@
 <blockquote>Returns true/false if the map has a border or not.
 </blockquote>
 
-=== <tt>!TestRectForObstacle(x1, y1, x2, y2, bool) (0.9.16) </tt> ===
+=== <tt>!TestRectForObstacle(x1, y1, x2, y2, landOnly) (0.9.16) </tt> ===
 
-<blockquote>Checks the given rectangle for collisions.
+<blockquote>Checks the rectangle between the given coordinates for possible collisions. set landOnly to true if you don't want to check for collisions with gears (hedgehogs, etc.)
 </blockquote>
 
 === <tt>!PlaySound(soundId)</tt> ===
@@ -727,7 +727,7 @@
 
 <blockquote>This function will switch to the hedgehog with the specified Uid.</blockquote>
 
-=== <tt>!SendStat(TStatInfoType,statMessage[,teamName])</tt> (0.9.20) ===
+=== <tt>!SendStat(TStatInfoType, statMessage[, teamName])</tt> (0.9.20) ===
 
 <blockquote>Exposes the uIO SendStat to the lua scripts. Use it to produce custom stat pages.