def startTrap(self):
     TrapGag.startTrap(self)
     if not self.gag:
         self.build()
         self.setHandJoint()
     self.gag.reparentTo(self.handJoint)
     self.avatar.play('toss', fromFrame=22)
示例#2
0
 def startTrap(self):
     TrapGag.startTrap(self)
     if not self.gag:
         self.build()
         self.setHandJoint()
     self.gag.reparentTo(self.handJoint)
     self.avatar.play('toss', fromFrame=22)
示例#3
0
 def start(self):
     TrapGag.startTrap(self)
     if self.trapMode == 0:
         LocationGag.start(self, self.avatar)
     elif self.trapMode == 1:
         if not self.gag:
             self.build()
             self.setHandJoint()
         self.gag.reparentTo(self.handJoint)
         self.avatar.play('toss', fromFrame=22)
示例#4
0
 def start(self):
     TrapGag.startTrap(self)
     if self.trapMode == 0:
         LocationGag.start(self, self.avatar)
     else:
         if self.trapMode == 1:
             if not self.gag:
                 self.build()
                 self.setHandJoint()
             self.gag.reparentTo(self.handJoint)
             self.avatar.play('toss', fromFrame=22)
示例#5
0
    def start(self):
        TrapGag.startTrap(self)

        # Let's start the location seeker if we're using a trapdoor or quicksand gag.
        if self.trapMode == 0:
            LocationGag.start(self, self.avatar)
        elif self.trapMode == 1:
            if not self.gag:
                self.build()
                self.setHandJoint()
            self.gag.reparentTo(self.handJoint)
            self.avatar.play('toss', fromFrame=22)