Example #1
0
 def delete(self):
     self.died = None
     self.hpBarrel = None
     taskMgr.remove(self.uniqueName('npcToonDie'))
     BaseNPCAI.delete(self)
     DistributedToonAI.delete(self)
     DistributedEntityAI.delete(self)
Example #2
0
 def delete(self):
     taskMgr.remove(self.taskName("hpRegen"))
     self.money = None
     self.viewOrigin = None
     self.viewAngles = None
     self.viewAngleVectors = None
     DistributedToonAI.delete(self)
 def delete(self):
     try:
         self.DistributedPlayerToonAI_deleted
     except:
         self.DistributedPlayerToonAI_deleted = 1
         DistributedPlayerToonShared.delete(self)
         self.questManager.cleanup()
         self.questManager = None
         self.money = None
         self.portal = None
         self.book = None
         self.role = None
         self.ghost = None
         self.attackers = None
         self.puInventory = None
         self.equippedPU = None
         if type(self.backpack
                 ) != types.IntType and self.backpack is not None:
             self.backpack.cleanup()
             self.backpack = None
         self.quests = None
         self.questHistory = None
         self.tier = None
         self.friends = None
         self.tutDone = None
         self.hoodsDiscovered = None
         self.teleportAccess = None
         self.lastHood = None
         self.defaultShard = None
         self.trackExperience = None
         del self.questManager
         del self.money
         del self.portal
         del self.book
         del self.role
         del self.ghost
         del self.attackers
         del self.puInventory
         del self.equippedPU
         del self.backpack
         del self.quests
         del self.questHistory
         del self.tier
         del self.friends
         del self.tutDone
         del self.hoodsDiscovered
         del self.teleportAccess
         del self.lastHood
         del self.defaultShard
         del self.trackExperience
         DistributedToonAI.delete(self)
     return