def localPirateArrived(self, av): DistributedSimpleShip.localPirateArrived(self, av) self.enableOnDeckInteractions() localAvatar.guiMgr.radarGui.zoomFSM.setLevels([1000]) mapObj = self.getMinimapObject() if mapObj: mapObj.setAsLocalAvShip(av.getCrewShipId() == self.doId)
def localPirateArrived(self, av): DistributedSimpleShip.localPirateArrived(self, av) self.enableOnDeckInteractions() localAvatar.guiMgr.radarGui.zoomFSM.setLevels([ 1000]) mapObj = self.getMinimapObject() if mapObj: mapObj.setAsLocalAvShip(av.getCrewShipId() == self.doId)
def localPirateArrived(self, av): DistributedSimpleShip.localPirateArrived(self, av) if av.isLocal(): self.gameFSM.stopCurrentMusic() self.gameFSM.startCurrentMusic(SoundGlobals.MUSIC_CUBA_COMBAT)
def localPirateArrived(self, av): DistributedSimpleShip.localPirateArrived(self, av) self.enableOnDeckInteractions() mapObj = self.getMinimapObject() if mapObj: mapObj.setAsLocalAvShip(av.getCrewShipId() == self.doId)