Announcement

Collapse
No announcement yet.

Set Spectator Camera Location/Get Location/etc?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Set Spectator Camera Location/Get Location/etc?

    Is it possible to get/set the spectator camera location, heading, toggle noclip, etc?
    Last edited by Pindrought; 01-13-2020, 06:49 AM.

    #2
    Try this:

    Code:
    SetCameraLocation(x, y, z, true)
    Last edited by Tommy; 01-14-2020, 02:11 PM.
    👑 DID I HELP YOU?
    Give me 👍 Like
    MY SITE: https://www.tommybr.com
    MY STEAM: https://steamcommunity.com/id/TommyID/

    Comment


      #3
      Originally posted by Tommy View Post
      Try this:

      Code:
      SetCameraLocation(x, y, z, true)
      Thanks, but sadly that does nothing

      Comment


        #4
        Originally posted by Pindrought View Post

        Thanks, but sadly that does nothing
        Is it placed on the client-side?
        👑 DID I HELP YOU?
        Give me 👍 Like
        MY SITE: https://www.tommybr.com
        MY STEAM: https://steamcommunity.com/id/TommyID/

        Comment


          #5
          You use to GetCameraLocation(true) get the spectate camera and you use SetCamerLocation() to "attach"
          👑 DID I HELP YOU?
          Give me 👍 Like
          MY SITE: https://www.tommybr.com
          MY STEAM: https://steamcommunity.com/id/TommyID/

          Comment


            #6
            Originally posted by Tommy View Post
            You use to GetCameraLocation(true) get the spectate camera and you use SetCamerLocation() to "attach"
            Yeah, it looks like we're only able to get the spectator cam location atm :/. I ended up writing an alternative camera for now.

            SetCameraLocation does nothing in spectate mode for me.

            Comment

            Working...
            X