|
| 17 Sep 2014 02:24 PM |
I am trying to make it so the player cant zoom in or out, this is what I have in a local script:
wait(2) workspace.CurrentCamera.CameraType = "Attach" workspace.CurrentCamera.CameraSubject = workspace.Cam game.Players.LocalPlayer.CameraMinZoomDistance = 0 game.Players.LocalPlayer.CameraMaxZoomDistance = 0 |
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|
eLunate
|
  |
| Joined: 29 Jul 2014 |
| Total Posts: 13268 |
|
|
| 17 Sep 2014 03:01 PM |
game.Players.LocalPlayer.CameraMode = Enum.CameraMode.LockFirstPerson Should work in theory, but I've had trouble checking for first person in my game. |
|
|
| Report Abuse |
|
|
|
| 17 Sep 2014 03:02 PM |
K thanks i was thinking about doing that
|
|
|
| Report Abuse |
|
|
eLunate
|
  |
| Joined: 29 Jul 2014 |
| Total Posts: 13268 |
|
|
| 17 Sep 2014 03:03 PM |
| No no, my bad. I think I misunderstood the intent of the script. |
|
|
| Report Abuse |
|
|
eLunate
|
  |
| Joined: 29 Jul 2014 |
| Total Posts: 13268 |
|
|
| 17 Sep 2014 03:03 PM |
| Do you mean to lock them in first person? Or just to lock them at a certain zoom? |
|
|
| Report Abuse |
|
|
|
| 17 Sep 2014 03:06 PM |
lock them at a certain zoom
i missunderstud what you meant... whoops
|
|
|
| Report Abuse |
|
|
eLunate
|
  |
| Joined: 29 Jul 2014 |
| Total Posts: 13268 |
|
|
| 17 Sep 2014 03:10 PM |
| I've personally not done much work on the cameras, but surely if you don't want to lock them in first person then you need to set the camera min and max to more than 0? |
|
|
| Report Abuse |
|
|
KOzero
|
  |
| Joined: 11 May 2010 |
| Total Posts: 1411 |
|
|
| 17 Sep 2014 03:13 PM |
| You need to set them both to 0.5 because that's the lowest it can go. |
|
|
| Report Abuse |
|
|
| |
|