def localAvEnterDeath(self, av):
     DistributedInstanceBase.localAvEnterDeath(self, av)
     self.d_localAvatarDied()
     if av.getSiegeTeam():
         self._startPvpRespawn(PVPGlobals.MainWorldAvRespawnDelay)
 def handleOffStage(self, cacheAreas = []):
     self.disableFireworkShow()
     DistributedInstanceBase.handleOffStage(self, cacheAreas)
 def handleOnStage(self):
     DistributedInstanceBase.handleOnStage(self)
     base.cr.timeOfDayManager.setEnvironment(TODGlobals.ENV_DEFAULT)
 def disable(self):
     if self.pvpRespawnCall:
         self.pvpRespawnCall.destroy()
         self.pvpRespawnCall = None
     
     DistributedInstanceBase.disable(self)
 def delete(self):
     self.ignore('sendingLocalAvatarToJail')
     DistributedInstanceBase.delete(self)
 def localAvExitDeath(self, av):
     DistributedInstanceBase.localAvExitDeath(self, av)
Пример #7
0
    def disable(self):
        if self.pvpRespawnCall:
            self.pvpRespawnCall.destroy()
            self.pvpRespawnCall = None

        DistributedInstanceBase.disable(self)
 def localAvEnterDeath(self, av):
     DistributedInstanceBase.localAvEnterDeath(self, av)
     if av.isLocal():
         self.d_localAvatarDied()
 def localAvExitDeath(self, av):
     DistributedInstanceBase.localAvExitDeath(self, av)
Пример #10
0
 def localAvEnterDeath(self, av):
     DistributedInstanceBase.localAvEnterDeath(self, av)
     self.d_localAvatarDied()
     if av.getSiegeTeam():
         self._startPvpRespawn(PVPGlobals.MainWorldAvRespawnDelay)
 def delete(self):
     del self.jailContext
     DistributedInstanceBase.delete(self)
Пример #12
0
 def handleOnStage(self):
     DistributedInstanceBase.handleOnStage(self)
     base.cr.timeOfDayManager.setEnvironment(TODGlobals.ENV_DEFAULT)
Пример #13
0
 def handleOffStage(self, cacheAreas=[]):
     self.disableFireworkShow()
     DistributedInstanceBase.handleOffStage(self, cacheAreas)
Пример #14
0
 def delete(self):
     self.ignore("sendingLocalAvatarToJail")
     DistributedInstanceBase.delete(self)
 def delete(self):
     del self.jailContext
     DistributedInstanceBase.delete(self)
 def __init__(self, cr):
     DistributedInstanceBase.__init__(self, cr)
     self.jailContext = None
 def localAvEnterDeath(self, av):
     DistributedInstanceBase.localAvEnterDeath(self, av)
     if av.isLocal():
         self.d_localAvatarDied()
 def __init__(self, cr):
     DistributedInstanceBase.__init__(self, cr)
     self.setName('MainWorld')
     self.pvpRespawnCall = None
 def __init__(self, cr):
     DistributedInstanceBase.__init__(self, cr)
     self.jailContext = None
Пример #20
0
 def __init__(self, cr):
     DistributedInstanceBase.__init__(self, cr)
     self.setName("MainWorld")
     self.pvpRespawnCall = None