def toSecDock(self): proc = self.proc cityID = self.citySec.cityID self.makeAllDo(dolCall.moveSea) while(dolScript.getLocationType(proc) == dolCallEnum.LocType.Dock): dolCall.moveSea(proc) time.sleep(0.5) myid = dolScript.getPCID(proc) self.makeAllDo(dolCall.follow, [myid]) gotoCity(proc, cityID, self.cityRead.cityRouteDict[cityID]) self.nextDoFunc = self.toReadDock self.nextDoPara = []