How would I set camera mode to only the default one?
I would like to make it so that the camera mode is always the default one. Ex: when you enter the settings menu it would say “Set By Developer” next to the camera mode.
There are no settings I’ve found which accomplish this.
I’ve looked in the StarterPlayer, but the CameraMode setting there doesn’t do what I want to do.
Thanks for reading. Any help would be greatly appreciated.
This does work, but when I go into settings it still allows them to pick the camera mode. When they pick a different one in settings it doesn’t actually work in game. Is there a way I could make it say “Set By Developer” there?
So in other words your script should look like this:
local player = game.Players.LocalPlayer
-- Set the player's camera movement mode on computers to classic
player.DevComputerCameraMode = Enum.DevComputerCameraMovementMode.Classic
-- Set the player's camera movement mode on mobile to classic
player.DevTouchCameraMovementMode = Enum.DevTouchCameraMovementMode.Classic
Actaully, nevermind. It would be a Script inside of ServerScriptService that looks like such:
local StarterPlayer = game.StarterPlayer
StarterPlayer.DevComputerCameraMovementMode = Enum.DevComputerCameraMovementMode.Classic -- Change to mode you want
StarterPlayer.DevTouchCameraMovementMode = Enum.DevTouchCameraMovementMode.Classic -- Change to mode you want
Also make sure you are using this script, I changed a few things:
local StarterPlayer = game.StarterPlayer
StarterPlayer.DevComputerCameraMovementMode = Enum.DevComputerCameraMovementMode.Classic -- Change to mode you want
StarterPlayer.DevTouchCameraMovementMode = Enum.DevTouchCameraMovementMode.Classic -- Change to mode you want
It’s two dashes, I just didn’t use the script quote thing
local StarterPlayer = game.StarterPlayer
StarterPlayer.DevComputerCameraMovementMode = Enum.DevComputerCameraMovementMode.Classic -- Change to mode you want
StarterPlayer.DevTouchCameraMovementMode = Enum.DevTouchCameraMovementMode.Classic -- Change to mode you want