コード例 #1
0
 def __init__(self, cr, name = 'InteriorDoorTeleportActorOV'):
     DoorTeleportActorOV.__init__(self, cr, name)
     self.doorRequest = None
コード例 #2
0
 def disable(self):
     if self.doorRequest:
         base.cr.relatedObjectMgr.abortRequest(self.doorRequest)
         self.doorRequest = None
     
     DoorTeleportActorOV.disable(self)
コード例 #3
0
 def enterStartShow(self, *args):
     DoorTeleportActorOV.enterStartShow(self, *args)
     door = self.cr.getDo(self.doorId)
     messenger.send('fadeInInteriorDoor', [
         door.getBuildingUid()])
     base.cr.loadingScreen.hide()
コード例 #4
0
 def disable(self):
     if self.doorArriveCallback:
         base.cr.relatedObjectMgr.abortRequest(self.doorArriveCallback)
         self.doorArriveCallback = None
     DoorTeleportActorOV.disable(self)
     return
コード例 #5
0
 def enterStartShow(self, *args):
     DoorTeleportActorOV.enterStartShow(self, *args)
     door = self.cr.getDo(self.doorId)
     messenger.send('fadeInExteriorDoor', [door.getBuildingUid()])
     base.cr.loadingScreen.hide()
コード例 #6
0
 def __init__(self, cr, name='ExteriorDoorTeleportActorOV'):
     DoorTeleportActorOV.__init__(self, cr, name)
     self.doorArriveCallback = None
     return
コード例 #7
0
 def __init__(self, cr, name='InteriorDoorTeleportActorOV'):
     DoorTeleportActorOV.__init__(self, cr, name)
     self.doorRequest = None
     return
コード例 #8
0
 def disable(self):
     if self.doorRequest:
         base.cr.relatedObjectMgr.abortRequest(self.doorRequest)
         self.doorRequest = None
     DoorTeleportActorOV.disable(self)
     return
コード例 #9
0
 def __init__(self, cr, name = 'ExteriorDoorTeleportActorOV'):
     DoorTeleportActorOV.__init__(self, cr, name)
     self.doorArriveCallback = None
コード例 #10
0
 def disable(self):
     if self.doorArriveCallback:
         base.cr.relatedObjectMgr.abortRequest(self.doorArriveCallback)
         self.doorArriveCallback = None
     
     DoorTeleportActorOV.disable(self)