gunreign
|
  |
| Joined: 02 Sep 2014 |
| Total Posts: 1096 |
|
|
| 27 Nov 2014 10:53 PM |
local target = workspace.Cam1 local camera = workspace.CurrentCamera camera.CameraType = Enum.CameraType.Scriptable camera.CameraSubject = target local angle = 0 |
|
|
| Report Abuse |
|
|
kilerAK24
|
  |
| Joined: 01 Feb 2012 |
| Total Posts: 14 |
|
|
| 27 Nov 2014 10:55 PM |
| how many players have you tested with? Or are you just coming up with an error code? |
|
|
| Report Abuse |
|
|
gunreign
|
  |
| Joined: 02 Sep 2014 |
| Total Posts: 1096 |
|
|
| 27 Nov 2014 10:57 PM |
When I join the game on my own it doesn't work, but when I test it in studio it works fine.
logan the creator |
|
|
| Report Abuse |
|
|
kilerAK24
|
  |
| Joined: 01 Feb 2012 |
| Total Posts: 14 |
|
|
| 27 Nov 2014 11:04 PM |
I don't have an answer for your question...
what exactly are you trying to do that wouldn't work on the server. full code |
|
|
| Report Abuse |
|
|
gunreign
|
  |
| Joined: 02 Sep 2014 |
| Total Posts: 1096 |
|
|
| 28 Nov 2014 12:04 AM |
..That is the full code, its in a brick named Cam1.
logan the creator |
|
|
| Report Abuse |
|
|
gunreign
|
  |
| Joined: 02 Sep 2014 |
| Total Posts: 1096 |
|
| |
|
gunreign
|
  |
| Joined: 02 Sep 2014 |
| Total Posts: 1096 |
|
| |
|
gunreign
|
  |
| Joined: 02 Sep 2014 |
| Total Posts: 1096 |
|
| |
|
gunreign
|
  |
| Joined: 02 Sep 2014 |
| Total Posts: 1096 |
|
| |
|
gunreign
|
  |
| Joined: 02 Sep 2014 |
| Total Posts: 1096 |
|
| |
|
|
| 28 Nov 2014 12:49 AM |
| If it's a localscript you must add a wait() at the very top. |
|
|
| Report Abuse |
|
|
gunreign
|
  |
| Joined: 02 Sep 2014 |
| Total Posts: 1096 |
|
|
| 28 Nov 2014 01:40 AM |
That still did not fix my issue..
logan the creator |
|
|
| Report Abuse |
|
|
gunreign
|
  |
| Joined: 02 Sep 2014 |
| Total Posts: 1096 |
|
| |
|
|
| 28 Nov 2014 01:52 AM |
if you're trying to accomplish a camera that views the camera of a brick, then just make a separate script with the camera facing the CFrame of the brick
casualaloha ッ |
|
|
| Report Abuse |
|
|
Pr0vex
|
  |
| Joined: 03 Nov 2014 |
| Total Posts: 944 |
|
|
| 28 Nov 2014 01:53 AM |
| Where is the script located. StarterGui? |
|
|
| Report Abuse |
|
|
|
| 28 Nov 2014 01:53 AM |
insult me cause i tried way too hard to sound like a scripter lmao
casualaloha ッ |
|
|
| Report Abuse |
|
|
gunreign
|
  |
| Joined: 02 Sep 2014 |
| Total Posts: 1096 |
|
|
| 28 Nov 2014 01:54 AM |
its located in the brick.
logan the creator |
|
|
| Report Abuse |
|
|
ALGO160
|
  |
| Joined: 26 Mar 2012 |
| Total Posts: 397 |
|
|
| 28 Nov 2014 01:55 AM |
Err... Local Script or Regular? Err... Is "Camera" a thing for each player. I haven't done any of that in who knows how long.
I love Ruby, and LUA sucks. Let's replace Lua with ruby! |
|
|
| Report Abuse |
|
|
gunreign
|
  |
| Joined: 02 Sep 2014 |
| Total Posts: 1096 |
|
|
| 28 Nov 2014 01:56 AM |
I've tried local and normal
If possible, just rewrite it where it works?
logan the creator |
|
|
| Report Abuse |
|
|
|
| 28 Nov 2014 01:57 AM |
gun what are you trying to accomplish with the script
casualaloha ッ |
|
|
| Report Abuse |
|
|
gunreign
|
  |
| Joined: 02 Sep 2014 |
| Total Posts: 1096 |
|
|
| 28 Nov 2014 01:58 AM |
A menu intro, with buttons that teleport you
Like an orbital hub
logan the creator |
|
|
| Report Abuse |
|
|
ALGO160
|
  |
| Joined: 26 Mar 2012 |
| Total Posts: 397 |
|
|
| 28 Nov 2014 01:59 AM |
Errr like Base wars? That Game i've been playing way to much of recently?
You don't need a brick. Hard code the coords. If you aren't planning on moving the brick, that is
I love Ruby, and LUA sucks. Let's replace Lua with ruby! |
|
|
| Report Abuse |
|
|
gunreign
|
  |
| Joined: 02 Sep 2014 |
| Total Posts: 1096 |
|
|
| 28 Nov 2014 02:03 AM |
Ok, well help me with that?
logan the creator |
|
|
| Report Abuse |
|
|
|
| 28 Nov 2014 02:03 AM |
oh i see.
so you're making it by steps are yeh here do this
cam = game.Workspace.CurrentCamera cam.CameraType = "Scriptable" cam. CoordinateFrame = game.Workspace.Cam1.CFrame -- you might have to erase "game." i didnt try it on studio and i make mistakes sometimes
casualaloha ッ |
|
|
| Report Abuse |
|
|
ALGO160
|
  |
| Joined: 26 Mar 2012 |
| Total Posts: 397 |
|
|
| 28 Nov 2014 02:10 AM |
Erm.... Check the wiki's docs. Use a CFrame.new(YOUR COORDS HERE - FOR THE CAMERA) and attach it to the relevant property
I love Ruby, and LUA sucks. Let's replace Lua with ruby! |
|
|
| Report Abuse |
|
|