Add parameter for onHogHide and onHogRestore
authorWuzzy
Wed, 30 Dec 2015 21:01:02 +0000
changeset 689 e919bdf895f7
parent 688 d9fc58ac04f2
child 690 13183bf23217
Add parameter for onHogHide and onHogRestore
LuaAPI.wiki
--- a/LuaAPI.wiki	Wed Dec 30 10:55:13 2015 -0500
+++ b/LuaAPI.wiki	Wed Dec 30 21:01:02 2015 +0000
@@ -306,11 +306,11 @@
 === <tt>onUpUp()</tt> ===
 This function is called when you release the up key.
 
-=== <tt>onHogHide()</tt> (0.9.16) ===
-This function is called when a hedgehog is hidden (removed from the map).
+=== <tt>onHogHide(gearUid)</tt> (0.9.16) ===
+This function is called when a hedgehog with the gear ID `gearUid` is hidden (removed from the map).
 
-=== <tt>onHogRestore()</tt> (0.9.16) ===
-This function is called when a hedgehog is restored (unhidden).
+=== <tt>onHogRestore(gearUid)</tt> (0.9.16) ===
+This function is called when a hedgehog with the specified gear ID `gearUid` is restored (unhidden).
 
 === <tt>onSpritePlacement(spriteId, centerX, centerY)</tt> (0.9.21) ===
 This function is called when a [Sprites Sprite] has been placed.