Edited wiki page LuaAPI through web user interface.
--- 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>