# HG changeset patch # User RedGrinner # Date 1291644479 0 # Node ID 6c818c9fc1d5efc61585fbd4b5c16bddaa87f11f # Parent 07eb386ecca22ccd520bb1fbc1f8fcc9cb644d60 Edited wiki page LuaAPI through web user interface. diff -r 07eb386ecca2 -r 6c818c9fc1d5 LuaAPI.wiki --- a/LuaAPI.wiki Mon Dec 06 14:06:23 2010 +0000 +++ b/LuaAPI.wiki Mon Dec 06 14:07:59 2010 +0000 @@ -67,7 +67,7 @@ === 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(gearUid, heResurrectable , true). +
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() ===