parameters: (self)
docstring: After the behavior gets our eyes in the telescope, engage ourselves with the camera
docstring_summary: After the behavior gets our eyes in the telescope, engage ourselves with the camera
docstring_tokens: After the behavior gets our eyes in the telescope engage ourselves with the camera
function: def IEngageTelescope(self):
          global Telescope
  
          Telescope.pushTelescope()
          "After the behavior gets our eyes in the telescope, engage ourselves with the camera"
          # Disable First Person Camera
          cam = ptCamera()
          cam.undoFirstPerson()
          cam.disableFirstPersonOverride()
          # set camera to telescope
          virtCam = ptCamera()
          virtCam.save(Camera.sceneobject.getKey())
          # show the cockpit
          if Vignette.value:
              PtLoadDialog(Vignette.value,self.key)
              if ( PtIsDialogLoaded(Vignette.value) ):
                  PtShowDialog(Vignette.value)
          # get control key events
          PtEnableControlKeyEvents(self.key)
function_tokens: def IEngageTelescope ( self ) : global Telescope Telescope . pushTelescope ( ) # Disable First Person Camera cam = ptCamera ( ) cam . undoFirstPerson ( ) cam . disableFirstPersonOverride ( ) # set camera to telescope virtCam = ptCamera ( ) virtCam . save ( Camera . sceneobject . getKey ( ) ) # show the cockpit if Vignette . value : PtLoadDialog ( Vignette . value , self . key ) if ( PtIsDialogLoaded ( Vignette . value ) ) : PtShowDialog ( Vignette . value ) # get control key events PtEnableControlKeyEvents ( self . key )