Jake0128
|
  |
| Joined: 09 Aug 2013 |
| Total Posts: 1631 |
|
|
| 05 May 2016 07:30 PM |
The entirety of the following script works except for the line where the focus of the current camera is defined. This script's placement is in "StarterPlayerScripts" inside "StarterPlayer".
localplayer=game.Players.LocalPlayer
workspace.CurrentCamera.CameraType="Scriptable" workspace.CurrentCamera.CFrame=CFrame.new(42.5, 12.5, -53.5) workspace.CurrentCamera.Focus=CFrame.new(22, 13, -83) print("Done")
The script passes through completely without setting the focus. I should also mention FilteringEnabled is enabled. Is there something I'm missing?
|
|
|
| Report Abuse |
|
|
|
| 05 May 2016 09:27 PM |
| Turn off the FilteredEnabled, see what happens. |
|
|
| Report Abuse |
|
|
LuaLlama
|
  |
| Joined: 25 Jan 2014 |
| Total Posts: 1123 |
|
|
| 05 May 2016 09:29 PM |
| If you need to access server-related stuff with FilteringEnabled, use RemoteFunctions to retrieve the information/edit the Items. (Make sure no hacker can abuse it) |
|
|
| Report Abuse |
|
|
|
| 05 May 2016 09:31 PM |
| Using RemoteEvents can be helpful too. |
|
|
| Report Abuse |
|
|