How Do I Disable To Change Camera Mode In Game? [ MISUNDERSTANDING BY ME ]

In My Game I Want How Can Disable " Camera Mode " Please Help Me.

1 Like

What do you want to do with the camera?
If you want a lot of presets, workspace.CurrentCamera.CameraType holds a lot of presets you can use.
To get them look through Enum.CameraType. e.g. if you wanted to be able to freely manipulate the camera, you could set CameraType to Enum.CameraType.Scriptable for cutscenes etc.

1 Like

Make It " Set By Developer " Like We Disable Shiftlock

1 Like

I believe ShiftLock is a property of (dont hold me to this) StarterPlayer? If you scroll down in it you should find EnableMouseLockOption or something like it, you can disable it there.

I think he means if thereā€™s an option to make the camera set by developer like how you can make shift lock set by developer

3 Likes

If you donā€™t want your game to have shift lock enabled then go to StarterPlayer and disable the ā€œEnableMouseLockOptionā€ property. By doing this, you can make players click a button and then disable the property.

image

or you can modify it through code:


local StarterPlayer = game:GetService("StarterPlayer")
StarterPlayer.EnableMouseLockOption = false

Disabling EnableMouseLockOption displays the message ā€˜Set by developerā€™ in the settings menu.
If he wants it on all the time, thereā€™s likely a script he can copy into a service and modify a boolean in it?

I was saying that I think he doesnā€™t want people to change the camera type

I Saw It In Jailbreak Like We Developers Can Disable The Camera Mode

Do you have a screenshot of this? Because I donā€™t know if thatā€™s true

Do you mean disable MouseLock?

1 Like

People cannot change the camera type anyway unless they have access to the developer console.
If you wanted players to be able to change their CameraType to ā€˜followā€™ etc, you would need to make a GUI. If you do not have one, they canā€™t do anything with it unless they are an exploiter, and in that case it would only change for them.

If you mean MouseLock itā€™s under StarterPlayer, uncheck the property and itā€™ll display as ā€˜set by developerā€™ rather than allowing it.

Iā€™m not sure what else CameraType would refer to.

1 Like

@offizen @Self_Reflexive @Abroxus Iā€™m So Sorry This Was A Misunderstanding From Me, I Thought There Was A Way But Itā€™s A Misunderstanding Iā€™m So Sorry For Wasting Your Time.

2 Likes