def announceGenerate(self):
     DistributedCreature.announceGenerate(self)
     self.accept('f8', self.grabAvatar, extraArgs=[localAvatar])
     self.creature.hide()
     self.accept(self.uniqueName('enterRange'), self.withinRange)
     self.accept(self.uniqueName('exitRange'), self.withoutRange)
     self.creature.setPythonTag('tentacle', self)
     if not hasattr(base, 'tentacles'):
         getBase().tentacles = []
     getBase().tentacles.append(self)
    def announceGenerate(self):
        DistributedCreature.announceGenerate(self)
        self.accept('f8', self.grabAvatar, extraArgs = [
            localAvatar])
        self.creature.hide()
        self.accept(self.uniqueName('enterRange'), self.withinRange)
        self.accept(self.uniqueName('exitRange'), self.withoutRange)
        self.creature.setPythonTag('tentacle', self)
        if not hasattr(base, 'tentacles'):
            getBase().tentacles = []

        getBase().tentacles.append(self)
Example #3
0
 def announceGenerate(self):
     DistributedCreature.announceGenerate(self)
     getBase().khead = self
Example #4
0
 def announceGenerate(self):
     DistributedCreature.announceGenerate(self)
     if not self.isInInvasion():
         avType = CreatureTypes[self.avatarType.getNonBossType()]
         self.addBossEffect(avType)
 def announceGenerate(self):
     DistributedCreature.announceGenerate(self)
     if not self.isInInvasion():
         avType = CreatureTypes[self.avatarType.getNonBossType()]
         self.addBossEffect(avType)
 def announceGenerate(self):
     DistributedCreature.announceGenerate(self)
     getBase().khead = self