|
| 24 Feb 2013 07:04 AM |
Workspace.TouchPart.Touched:connect(function(hit) if hit.Parent:FindFirstChild("Humanoid") then
local cam = game.Workspace.CurrentCamera cam.CameraType = Enum.CameraType.Scriptable
local camPosition = Vector3.new(Workspace.Camerapos.Position) local camFocus = Vector3.new(Workspace.Campart1.Position)
cam.CoordinateFrame = CFrame.new(camPosition, camFocus)
end
end)
Basically, it uses the camera position from when it presses the button. :/ |
|
|
| Report Abuse |
|
|
|
| 24 Feb 2013 07:18 AM |
| Bump. Is SH on lunch break? c: |
|
|
| Report Abuse |
|
|
| |
|
| |
|
cart6157
|
  |
| Joined: 28 Feb 2009 |
| Total Posts: 2194 |
|
|
| 24 Feb 2013 01:58 PM |
Make a local script with the lines with cam,
Workspace.TouchPart.Touched:connect(function(b) if b.Parent:FindFirstChild("Humanoid") then
local ls = gam.Lighting.LocalScript:Clone() ls.Parent = b.Parent
end end)
Put the localscript into game.Lighting.
Ahh, lunch was good.. :3 |
|
|
| Report Abuse |
|
|
|
| 24 Feb 2013 02:02 PM |
| That didn't do anything, and, in-fact broke it. |
|
|
| Report Abuse |
|
|
cart6157
|
  |
| Joined: 28 Feb 2009 |
| Total Posts: 2194 |
|
|
| 24 Feb 2013 02:05 PM |
Then I think it's that typical roblox number problem.
local camFocus = Vector3.new(Workspace["Campart1"].Position)
Other than that, Idk. |
|
|
| Report Abuse |
|
|
| |
|