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

Changing Camera ?

Asked by 8 years ago

I really like the way the Shift Lock Switch Camera looks, so is there any way i can make it to where thats the only way for the camera to look in my game ?

P.S. I tried looking on the wiki but didnt find anything

0
I don't think there is. Perci1 4988 — 8y
0
dang..... Thanks anyway XD HyperSpeed05 40 — 8y

1 answer

Log in to vote
0
Answered by
Unlimitus 120
8 years ago

There actually is a way... This is a lot simpler than going to write an entirely new script. First, play solo in your place and copy the CameraScript that is in your player's PlayerScripts.

Second, paste this script inside of StarterPlayerScripts, which is inside StarterPlayer.

Third, go into the script's child, "RootCamera", and change the following:

Change line 112 from this.ShiftLock = false to this.ShiftLock = true AND Change line 126 from return ShiftLockController:IsShiftLocked() to return true

This should do it but be aware that you cant change mid game.

Hope this helps!

0
Thanks so much ! HyperSpeed05 40 — 8y
Ad

Answer this question