コード例 #1
0
 def announceGenerate(self):
     DistributedGAInterior.announceGenerate(self)
     doorPlanes = self.geom.findAllMatches('**/door_collision_planar_*;+s')
     doorPlanes.stash()
コード例 #2
0
 def handleChildArrive(self, childObj, zoneId):
     DistributedGAInterior.handleChildArrive(self, childObj, zoneId)
     if childObj.isLocal() and childObj.belongsInJail():
         localAvatar.b_setGameState('ThrownInJail')
         if not self.footstepSound:
             localAvatar.setAreaFootstep('Rock')
コード例 #3
0
 def handleChildArrive(self, childObj, zoneId):
     DistributedGAInterior.handleChildArrive(self, childObj, zoneId)
     if childObj.isLocal() and childObj.belongsInJail():
         localAvatar.b_setGameState('ThrownInJail')
         if not self.footstepSound:
             localAvatar.setAreaFootstep('Rock')
コード例 #4
0
 def announceGenerate(self):
     DistributedGAInterior.announceGenerate(self)
     doorPlanes = self.geom.findAllMatches('**/door_collision_planar_*;+s')
     doorPlanes.stash()