# HG changeset patch
# User szabibibi@gmail.com
# Date 1345654295 0
# Node ID ac34d3763a1713ff39454b1edc1487e65485af83
# Parent  4bd883e7d479d4e177cade608898d101edfb4a21
Edited wiki page LuaAPI through web user interface.

diff -r 4bd883e7d479 -r ac34d3763a17 LuaAPI.wiki
--- a/LuaAPI.wiki	Sat Aug 18 23:55:58 2012 +0000
+++ b/LuaAPI.wiki	Wed Aug 22 16:51:35 2012 +0000
@@ -371,6 +371,23 @@
 
 == Functions to modify gears ==
 
+=== <tt>!HideHog(gearUid)</tt> ===
+
+<blockquote>Removes a hedgehog from the map. The hidden hedgehog can be restored with RestoreHog. The current hedgehog cannot be hidden!</blockquote>
+Example: 
+
+<code lang="lua">    gear = !AddGear(...)
+     !HideHog(gear) -- Hide the newly created gear.</code>
+
+=== <tt>!RestoreHog(gearUid)</tt> ===
+
+<blockquote>Restores a previously hidden hedgehog.</blockquote>
+Example: 
+
+<code lang="lua">    gear = !AddGear(...)
+     !HideHog(gear) -- Hide the newly created gear.
+     !RestoreHog(gear) -- Restore the newly hidden gear.</code>
+
 === <tt>!DeleteGear(gearUid)</tt> ===
 
 <blockquote>Deletes a Gear</blockquote>