|
| 11 Feb 2017 07:29 PM |
What's a script that when a player joins, that player's camera is locked to a certain part cannot move or zoom at all?
|
|
|
| Report Abuse |
|
|
Wrathsong
|
  |
| Joined: 05 Jul 2012 |
| Total Posts: 22393 |
|
|
| 11 Feb 2017 08:07 PM |
No script required. Check the properties of StarterPlayer for CameraMinZoomDistance and CameraMaxZoomDistance.
Ever wanted to learn how to script? Check out my YouTube channel: youtube.com/austintheslayer Want to see me code in action? Follow me on twitch: twitch.tv/austinrblx |
|
|
| Report Abuse |
|
|
|
| 11 Feb 2017 08:12 PM |
| depends on what that certain part is wrath. if its the player then yeah you can just edit starterplayer if it's a part you'll have to set the player's camera to scriptable and then change its CFrame and ##### ## can be a bit confusing at first to get things to point in the direction you want, so a bit of a tip: to get the camera to point toward a single block you should have a brick where you want the camera to be and then the actual part you want it to look at, then do camera.CFrame=CFrame.new([Block Where it should be positioned].Position,[Block to look at].Position) Speedy J. Zoel || Robux: R$1,576 || RAP: R$119,629 |
|
|
| Report Abuse |
|
|
Wrathsong
|
  |
| Joined: 05 Jul 2012 |
| Total Posts: 22393 |
|
|
| 11 Feb 2017 08:24 PM |
Oh, I think I misread. If the guy wants it locked to a certain part, you just set the CameraSubject (or the Focus, I forget)
Ever wanted to learn how to script? Check out my YouTube channel: youtube.com/austintheslayer Want to see me code in action? Follow me on twitch: twitch.tv/austinrblx |
|
|
| Report Abuse |
|
|