def delete(self):
     self.stopPosHprBroadcast()
     if self.brain:
         self.brain.stop()
         self.brain = None
     DistributedEntityAI.delete(self)
     DistributedAvatarAI.delete(self)
Пример #2
0
 def delete(self):
     self.stopAI()
     self.stopPosHprBroadcast()
     self.didFadeOut = None
     self.idealEyeColor = None
     self.hatType = None
     self.patrolTime = None
     self.patrolDur = None
     DistributedAvatarAI.delete(self)
Пример #3
0
    def delete(self):
        taskMgr.remove(self.taskName("eyesLookTask"))
        if self.eyeLensNP:
            self.eyeLensNP.removeNode()
        self.eyeLensNP = None
        self.anim = None
        self.eyeLookType = None

        DistributedAvatarAI.delete(self)
 def delete(self):
     try:
         self.DistributedToonAI_deleted
     except:
         if type(self.backpack
                 ) != types.IntType and self.backpack is not None:
             self.backpack.cleanup()
             self.backpack = None
         self.DistributedToonAI_deleted = 1
         DistributedAvatarAI.delete(self)
         DistributedSmoothNodeAI.delete(self)
         self.questManager.cleanup()
         self.questManager = None
         self.tutDone = None
         self.token = None
         self.anim = None
         self.chat = None
         self.health = None
         self.damage = None
         self.height = None
         self.gender = None
         self.headtype = None
         self.head = None
         self.legtype = None
         self.torsotype = None
         self.hr = None
         self.hg = None
         self.hb = None
         self.tr = None
         self.tg = None
         self.tb = None
         self.lr = None
         self.lg = None
         self.lb = None
         self.shir = None
         self.shig = None
         self.shib = None
         self.shor = None
         self.shog = None
         self.shob = None
         self.shirt = None
         self.short = None
         self.sleeve = None
         self.isdying = None
         self.isdead = None
         self.toon_legs = None
         self.toon_torso = None
         self.toon_head = None
         self.portal = None
         self.book = None
         self.place = None
         self.attackers = None
         self.numGagSlots = None
     return
Пример #5
0
 def delete(self):
     base.taskMgr.removeTasksMatching(self.uniqueName('DistributedPieTurretAI-scan'))
     base.taskMgr.removeTasksMatching(self.uniqueName('DistributedPieTurretAI-shootClosestTarget'))
     self.owner = None
     self.mgr = None
     self.targets = None
     self.shooting = None
     self.initialTargetHealth = None
     self.piesShot = None
     self.currentTarget = None
     self.deathEvent = None
     DistributedSmoothNodeAI.delete(self)
     DistributedAvatarAI.delete(self)
Пример #6
0
 def delete(self):
     self.torsoYaw = None
     self.version = None
     self.lastSpawnTime = None
     self.spawnIval = None
     self.doorTime = None
     self.doorState = None
     self.maxSuits = None
     self.numSuits = None
     self.lastAttackTime = None
     self.attackIval = None
     self.stopPosHprBroadcast()
     BaseNPCAI.delete(self)
     DistributedAvatarAI.delete(self)
Пример #7
0
    def delete(self):
        BaseNPCAI.delete(self)

        self.stopPosHprBroadcast()
        self.clearTrack()
        self.stopStun()
        taskMgr.remove(self.uniqueName('__handleDeath'))
        taskMgr.remove(self.uniqueName('Resume Thinking'))
        taskMgr.remove(self.uniqueName('monitorHealth'))
        taskMgr.remove(self.comboDataTaskName)
        if self.tacticalSeq:
            self.tacticalSeq.pause()
            self.tacticalSeq = None
        self.suitPlan = None
        self.variant = None
        self.level = None
        self.animStateChangeEvent = None
        self.deathAnim = None
        self.deathTimeLeft = None
        self.comboData = None
        self.firstTimeDead = None
        self.clearComboDataTime = None
        self.showComboDamageTime = None
        self.showWeaknessBonusDamageTime = None
        self.stunned = None
        self.damagers = []

        self.DELETED = True
        del self.suitPlan
        del self.variant
        del self.level
        del self.animStateChangeEvent
        del self.track
        del self.deathAnim
        del self.deathTimeLeft
        del self.comboData
        del self.comboDataTaskName
        del self.clearComboDataTime
        del self.showComboDamageTime
        del self.showWeaknessBonusDamageTime
        del self.tacticalSeq
        del self.damagers
        del self.stunned
        DistributedAvatarAI.delete(self)
 def delete(self):
     try:
         self.DistributedToonAI_deleted
     except:
         self.DistributedToonAI_deleted = 1
         DistributedAvatarAI.delete(self)
         self.avatarType = None
         self.anim = None
         self.chat = None
         self.height = None
         self.gender = None
         self.headtype = None
         self.head = None
         self.legtype = None
         self.torsotype = None
         self.hr = None
         self.hg = None
         self.hb = None
         self.tr = None
         self.tg = None
         self.tb = None
         self.lr = None
         self.lg = None
         self.lb = None
         self.shir = None
         self.shig = None
         self.shib = None
         self.shor = None
         self.shog = None
         self.shob = None
         self.shirt = None
         self.short = None
         self.sleeve = None
         self.isdying = None
         self.isdead = None
         self.toon_legs = None
         self.toon_torso = None
         self.toon_head = None
         del self.avatarType
         del self.anim
         del self.chat
         del self.height
         del self.gender
         del self.headtype
         del self.head
         del self.legtype
         del self.torsotype
         del self.hr
         del self.hg
         del self.hb
         del self.tr
         del self.tg
         del self.tb
         del self.lr
         del self.lg
         del self.lb
         del self.shir
         del self.shig
         del self.shib
         del self.shor
         del self.shog
         del self.shob
         del self.shirt
         del self.short
         del self.sleeve
         del self.isdying
         del self.isdead
         del self.toon_legs
         del self.toon_torso
         del self.toon_head
     return