diff -r c07e89eded71 -r bf53e635a2ac 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 @@
This function is called when a new gear is deleted. Useful in combination with !GetGearType(gearUid).
+=== onGearResurrect(gearUid) === + +
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. +
=== onAmmoStoreInit() ===
This function is called when the game is initialized to request the available ammo and ammo probabilities. Use !SetAmmo here.