def exitUse(self): DistributedInteractive.exitUse(self) if self.avGameState: if localAvatar.getGameState() == 'DinghyInteract': localAvatar.b_setGameState(self.avGameState) if self.avGameState in [ 'WaterRoam', 'BattleWaterRoam']: localAvatar.motionFSM.setWaterState(True, True) base.cr.interactionMgr.start() self.avGameState = None if self.camIval: self.camIval.pause() self.camIval = None if self.camTask: taskMgr.remove(self.camTask) self.camTask = None if self.shipSelection: self.shipSelection.destroy() self.shipSelection = None
def exitUse(self): DistributedInteractive.exitUse(self) if self.avGameState: if localAvatar.getGameState() == 'DinghyInteract': localAvatar.b_setGameState(self.avGameState) if self.avGameState in [ 'WaterRoam', 'BattleWaterRoam']: localAvatar.motionFSM.setWaterState(True, True) base.cr.interactionMgr.start() self.avGameState = None if self.camIval: self.camIval.pause() self.camIval = None if self.camTask: taskMgr.remove(self.camTask) self.camTask = None if self.shipSelection: self.shipSelection.destroy() self.shipSelection = None
def exitUse(self): if self.gameInterest: self.cr.removeInterest(self.gameInterest) self.gameInterest = None localAvatar.guiMgr.setIgnoreEscapeHotKey(False) localAvatar.b_setGameState('LandRoam') DistributedInteractive.exitUse(self)
def exitUse(self): self.stopRepairing() DistributedInteractive.exitUse(self) self.ignore('shipSinking-' + str(self._shipId))
def exitUse(self): self.stopRepairing() DistributedInteractive.exitUse(self) self.ignore('shipSinking-' + str(self._shipId))
def exitUse(self): self.stopRepairing() DistributedInteractive.exitUse(self)