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 == +=== !HideHog(gearUid) === + +
Removes a hedgehog from the map. The hidden hedgehog can be restored with RestoreHog. The current hedgehog cannot be hidden!
+Example: + + gear = !AddGear(...) + !HideHog(gear) -- Hide the newly created gear. + +=== !RestoreHog(gearUid) === + +
Restores a previously hidden hedgehog.
+Example: + + gear = !AddGear(...) + !HideHog(gear) -- Hide the newly created gear. + !RestoreHog(gear) -- Restore the newly hidden gear. + === !DeleteGear(gearUid) ===
Deletes a Gear