LuaAPI.wiki
changeset 1003 a4f8e22e15c6
parent 997 97eba4395dfd
child 1004 94d046b03855
equal deleted inserted replaced
1002:2eb2f6edf3a8 1003:a4f8e22e15c6
   626 </code>
   626 </code>
   627 
   627 
   628 == Functions to modify gears ==
   628 == Functions to modify gears ==
   629 
   629 
   630 === <tt>!HideHog(gearUid)</tt> ===
   630 === <tt>!HideHog(gearUid)</tt> ===
   631 Removes a hedgehog from the map. The hidden hedgehog can be restored with `RestoreHog(gearUid)`. The current hedgehog cannot be hidden!
   631 Removes a hedgehog from the map. The hidden hedgehog can be restored with `RestoreHog(gearUid)`.
   632 
   632 
   633 Example: 
   633 Example: 
   634 
   634 
   635 <code language="lua">    gear = AddGear(...)
   635 <code language="lua">    gear = AddGear(...)
   636      HideHog(gear) -- Hide the newly created gear.</code>
   636      HideHog(gear) -- Hide the newly created gear.</code>