BogyMac
|
  |
| Joined: 04 Nov 2011 |
| Total Posts: 823 |
|
|
| 12 Oct 2013 01:32 PM |
Like the title says, how would you force a First-Person-Type view on a player? I've heard of a several methods, but which is the best?
Thanks for any help, -Bogy |
|
|
| Report Abuse |
|
|
IlIll
|
  |
| Joined: 28 Aug 2011 |
| Total Posts: 896 |
|
|
| 12 Oct 2013 01:33 PM |
| game:GetService('Players').LocalPlayer.CameraMode = Enum.CameraMode.LockFirstPerson |
|
|
| Report Abuse |
|
|
BogyMac
|
  |
| Joined: 04 Nov 2011 |
| Total Posts: 823 |
|
|
| 12 Oct 2013 01:34 PM |
| Thanks for the mini script. Also, how would you script it so that it forces First-person every time you join/respawn? |
|
|
| Report Abuse |
|
|
|
| 12 Oct 2013 01:38 PM |
with said miniscript...
game.Players.PlayerAdded:connect(function(player) player.CharacterAdded:connect(function(character) player.CameraMode = Enum.CameraMode.LockFirstPerson end) end) |
|
|
| Report Abuse |
|
|
BogyMac
|
  |
| Joined: 04 Nov 2011 |
| Total Posts: 823 |
|
|
| 12 Oct 2013 01:39 PM |
| Thanks guys, I'll try that out now :D |
|
|
| Report Abuse |
|
|
IlIll
|
  |
| Joined: 28 Aug 2011 |
| Total Posts: 896 |
|
|
| 12 Oct 2013 01:39 PM |
You could put a LocalScript in the StarterPack and put
game:GetService('Players').LocalPlayer.CameraMode = Enum.CameraMode.LockFirstPerson
at the top of the script |
|
|
| Report Abuse |
|
|
IlIll
|
  |
| Joined: 28 Aug 2011 |
| Total Posts: 896 |
|
|
| 12 Oct 2013 01:40 PM |
| @PRESTIGIOUSaLEGEND; that only runs when the player enters, not respawn. |
|
|
| Report Abuse |
|
|
BogyMac
|
  |
| Joined: 04 Nov 2011 |
| Total Posts: 823 |
|
|
| 12 Oct 2013 01:44 PM |
| Thanks Ilill! It works PERFECTLY! |
|
|
| Report Abuse |
|
|
|
| 12 Oct 2013 01:50 PM |
@ ilill
most stupid thing i have ever heard.
game.Players.PlayerAdded:connect(function(player) -- WHEN PLAYER JOINS player.CharacterAdded:connect(function(character) -- WHEN PLAYER RESPAWNS |
|
|
| Report Abuse |
|
|
IlIll
|
  |
| Joined: 28 Aug 2011 |
| Total Posts: 896 |
|
|
| 12 Oct 2013 02:03 PM |
| Sorry, I didn't read the whole script; I only looked at the first line lol |
|
|
| Report Abuse |
|
|