Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Allowing a player to zoom out a certain amount?

Asked by
Relatch 550 Moderation Voter
8 years ago

I've looked through the wiki on CameraMaxZoomDistance, but still failed to find out how to do what the title of this question says. There, I see that it's a property of Player or StarterPlayer, but I cannot find a script that explains how to do it. Help?

Also, here is the link on CameraMaxZoomDistance.

0
It's a property of StarterPlayer as well a Player object. You can just change the property in StarterPlayer. BosswalrusTheCoder 88 — 8y

1 answer

Log in to vote
1
Answered by 8 years ago

LocalScript Inside StarterPack.

~~~~~~~~~~~~~~~~ local Player = game.Players.LocalPlayer

local Max = 0 Player.CameraMaxZoomDistance = Max ~~~~~~~~~~~~~~~~~

0
Actually, it's a property of StarterPlayer in the game. But, thanks for giving me the idea. Also, you did the codeblock wrong o; Relatch 550 — 8y
0
The Player object has a CameraMaxZoomDistance too. BosswalrusTheCoder 88 — 8y
Ad

Answer this question