|
| 03 Jan 2013 05:20 PM |
Hey! Thanks for everyone's help so far. I wish there was a reputation system or something so I could up your rep.
Anyways, another question - what type of script or what do I need to do to lock it in first person camera mode? Thank you! |
|
|
| Report Abuse |
|
|
|
| 03 Jan 2013 05:21 PM |
repeat wait() until game.Players.LocalPlayer.Character~=nil repeat wait() until game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
game.Players.LocalPlayer.CameraMode="LockFirstPerson" |
|
|
| Report Abuse |
|
|
|
| 03 Jan 2013 05:21 PM |
I use a LocalScript but I believe both types would work.
Player.CameraMode = "LockFirstPerson" |
|
|
| Report Abuse |
|
|
Blues714
|
  |
| Joined: 23 Dec 2008 |
| Total Posts: 6507 |
|
|
| 03 Jan 2013 05:23 PM |
| Player.CameraMode = "LockFirstPerson" |
|
|
| Report Abuse |
|
|
noah
|
  |
| Joined: 11 Sep 2006 |
| Total Posts: 18977 |
|
|
| 03 Jan 2013 05:24 PM |
@agent do u know dat property that hides all the other player's name from the original player's view? |
|
|
| Report Abuse |
|
|
|
| 03 Jan 2013 05:24 PM |
It's a property of the Humanoid object. I can't remember what it's called. |
|
|
| Report Abuse |
|
|
noah
|
  |
| Joined: 11 Sep 2006 |
| Total Posts: 18977 |
|
| |
|
|
| 03 Jan 2013 05:48 PM |
| Thanks guys, but where do I put this exactly? Huge noob here. |
|
|
| Report Abuse |
|
|
Blues714
|
  |
| Joined: 23 Dec 2008 |
| Total Posts: 6507 |
|
|
| 03 Jan 2013 05:50 PM |
| Put it in a script, and put the script into the starterpack |
|
|
| Report Abuse |
|
|
noah
|
  |
| Joined: 11 Sep 2006 |
| Total Posts: 18977 |
|
|
| 03 Jan 2013 05:50 PM |
| r u trying to switch there cameramode to lockfirstperson when they enter the server? |
|
|
| Report Abuse |
|
|
|
| 03 Jan 2013 06:31 PM |
Yeah, I want it to be restricted to first person.
And sorry guys, I'm still having trouble. I've clicked the starterpack, added the script object (also tried local script), and I pasted Player.CameraMode = "LockFirstPerson" in to the script, and it still won't work. Am I doing something wrong?
|
|
|
| Report Abuse |
|
|
|
| 03 Jan 2013 06:36 PM |
In a LocalScript:
game.Players.LocalPlayer.CameraMode = Enum.CameraMode.LockFirstPerson |
|
|
| Report Abuse |
|
|
|
| 03 Jan 2013 06:40 PM |
game.Players.PlayerAdded:connect(function(player) player.CharacterAdded:connect(function() player.CameraMode = Enum.CameraMode.LockFirstPerson end) end)
~LUV, LuaLearners Teacher(+3)~ |
|
|
| Report Abuse |
|
|