Edited wiki page LuaAPI through web user interface.
authorRedGrinner
Mon, 06 Dec 2010 14:02:38 +0000
changeset 44 bf53e635a2ac
parent 43 c07e89eded71
child 45 07eb386ecca2
Edited wiki page LuaAPI through web user interface.
LuaAPI.wiki
--- 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.