generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

workspace.CurrentCamera.Focus & FilteringEnabled, what's up?

Previous Thread :: Next Thread 
Jake0128 is not online. 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
Xstarlight is not online. Xstarlight
Joined: 18 Oct 2012
Total Posts: 870
05 May 2016 09:27 PM
Turn off the FilteredEnabled, see what happens.
Report Abuse
LuaLlama is not online. 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
Xstarlight is not online. Xstarlight
Joined: 18 Oct 2012
Total Posts: 870
05 May 2016 09:31 PM
Using RemoteEvents can be helpful too.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image