LuaAPI.wiki
changeset 244 74d74086e49b
parent 243 ac34d3763a17
child 284 365362b51148
equal deleted inserted replaced
243:ac34d3763a17 244:74d74086e49b
   371 
   371 
   372 == Functions to modify gears ==
   372 == Functions to modify gears ==
   373 
   373 
   374 === <tt>!HideHog(gearUid)</tt> ===
   374 === <tt>!HideHog(gearUid)</tt> ===
   375 
   375 
   376 <blockquote>Removes a hedgehog from the map. The hidden hedgehog can be restored with RestoreHog. The current hedgehog cannot be hidden!</blockquote>
   376 <blockquote>Removes a hedgehog from the map. The hidden hedgehog can be restored with !RestoreHog(gearUid). The current hedgehog cannot be hidden!</blockquote>
   377 Example: 
   377 Example: 
   378 
   378 
   379 <code lang="lua">    gear = !AddGear(...)
   379 <code lang="lua">    gear = !AddGear(...)
   380      !HideHog(gear) -- Hide the newly created gear.</code>
   380      !HideHog(gear) -- Hide the newly created gear.</code>
   381 
   381