Edited wiki page LuaAPI through web user interface.
--- a/LuaAPI.wiki Sun Dec 05 03:40:20 2010 +0000
+++ b/LuaAPI.wiki Mon Dec 06 14:02:38 2010 +0000
@@ -65,6 +65,10 @@
<blockquote>This function is called when a new gear is deleted. Useful in
combination with <tt>!GetGearType(gearUid)</tt>.
</blockquote>
+=== <tt>onGearResurrect(gearUid)</tt> ===
+
+<blockquote>This function is called when a gear is resurrected. CPU Hogs will resurrect if gfAISurvival is included in GameFlags. Alternatively, specific gears can have heResurrectable set to true via SetEffect.
+</blockquote>
=== <tt>onAmmoStoreInit()</tt> ===
<blockquote>This function is called when the game is initialized to request the available ammo and ammo probabilities. Use !SetAmmo here.