Powerhalo
|
  |
| Joined: 16 Jun 2010 |
| Total Posts: 1504 |
|
|
| 19 Feb 2013 04:45 PM |
I don't know if it's related to building or scripting, but I'll post here because it's probably a script that's doing that...
The problem is that when you go in first person view, the mouse doesn't lock and instead the player could move the mouse everywhere but the screen doesn't follow...
You can check in my place when zooming in maximum it's not like other games.
Is there a specific line that does that? How can I fix it?
Thank you! |
|
|
| Report Abuse |
|
|
gamert7
|
  |
| Joined: 18 Nov 2008 |
| Total Posts: 4986 |
|
|
| 19 Feb 2013 04:46 PM |
| No it is hardcoded into the roblox engine.... |
|
|
| Report Abuse |
|
|
Powerhalo
|
  |
| Joined: 16 Jun 2010 |
| Total Posts: 1504 |
|
|
| 19 Feb 2013 04:54 PM |
| It doesn't do that in other places... So there must be a kind of fix. |
|
|
| Report Abuse |
|
|
Powerhalo
|
  |
| Joined: 16 Jun 2010 |
| Total Posts: 1504 |
|
|
| 19 Feb 2013 04:55 PM |
To be a little short:
Problem=
>Mouse moving when in first person view >Screen not moving in first person view >Must right click and drag to make screen move
Need=
>A way to fix it... |
|
|
| Report Abuse |
|
|
Powerhalo
|
  |
| Joined: 16 Jun 2010 |
| Total Posts: 1504 |
|
| |
|
Trioxide
|
  |
| Joined: 29 Mar 2011 |
| Total Posts: 32902 |
|
| |
|
Powerhalo
|
  |
| Joined: 16 Jun 2010 |
| Total Posts: 1504 |
|
|
| 20 Feb 2013 07:33 PM |
| I don't understand... I'm a noob in scripting... |
|
|
| Report Abuse |
|
|
OldGoldie
|
  |
| Joined: 17 Aug 2010 |
| Total Posts: 8210 |
|
|
| 20 Feb 2013 07:36 PM |
game.Players.playername (or onentered name)CameraType.LockedFirstPerson = true i think
RED MAN IS RED™ |
|
|
| Report Abuse |
|
|
OldGoldie
|
  |
| Joined: 17 Aug 2010 |
| Total Posts: 8210 |
|
|
| 20 Feb 2013 07:36 PM |
WAIT REMOVE = TRUE
RED MAN IS RED™ |
|
|
| Report Abuse |
|
|
Powerhalo
|
  |
| Joined: 16 Jun 2010 |
| Total Posts: 1504 |
|
| |
|
Powerhalo
|
  |
| Joined: 16 Jun 2010 |
| Total Posts: 1504 |
|
|
| 20 Feb 2013 07:44 PM |
Onentered name??
game.Players.OnEntered.CameraType.LockedFirstPerson |
|
|
| Report Abuse |
|
|
OldGoldie
|
  |
| Joined: 17 Aug 2010 |
| Total Posts: 8210 |
|
|
| 20 Feb 2013 07:46 PM |
if it doesnt work go in build mode and find the things in your player
RED MAN IS RED™ |
|
|
| Report Abuse |
|
|
OldGoldie
|
  |
| Joined: 17 Aug 2010 |
| Total Posts: 8210 |
|
|
| 20 Feb 2013 07:47 PM |
if you have a OnEntered function what is inside (these) will count as player. for this case
these:Remove() kicks the player
RED MAN IS RED™ |
|
|
| Report Abuse |
|
|
Powerhalo
|
  |
| Joined: 16 Jun 2010 |
| Total Posts: 1504 |
|
|
| 20 Feb 2013 07:48 PM |
| OK I'll try thanks for the help :D |
|
|
| Report Abuse |
|
|
Powerhalo
|
  |
| Joined: 16 Jun 2010 |
| Total Posts: 1504 |
|
|
| 20 Feb 2013 07:49 PM |
game.Players.playername (OnEntered)CameraType.LockedFirstPerson
Is it that? Sorry, I'm kinda of a noob as I said D: |
|
|
| Report Abuse |
|
|
OldGoldie
|
  |
| Joined: 17 Aug 2010 |
| Total Posts: 8210 |
|
|
| 20 Feb 2013 07:51 PM |
Wait getting a script for you
RED MAN IS RED™ |
|
|
| Report Abuse |
|
|
Th30racle
|
  |
| Joined: 03 Nov 2012 |
| Total Posts: 214 |
|
|
| 20 Feb 2013 07:53 PM |
game.Players.ChildAdded:connect(new) new.CameraType.LockedFirstPerson = true end |
|
|
| Report Abuse |
|
|
OldGoldie
|
  |
| Joined: 17 Aug 2010 |
| Total Posts: 8210 |
|
|
| 20 Feb 2013 07:54 PM |
game.Players.ChildAdded:connect(player) player.CameraMode = LockFirstPerson end player.CameraMode = Classic if it doesnt work add quotes before LockFirstPerson and after "like" this i think to fix it do
RED MAN IS RED™ |
|
|
| Report Abuse |
|
|
OldGoldie
|
  |
| Joined: 17 Aug 2010 |
| Total Posts: 8210 |
|
|
| 20 Feb 2013 07:55 PM |
player.CameraMode = Classic undoes ti
RED MAN IS RED™ |
|
|
| Report Abuse |
|
|
|
| 20 Feb 2013 07:55 PM |
^ game.Players.PlayerEntered:connect(function(new) new.CameraMode = Enum.CameraMode.LockFirstPerson end) |
|
|
| Report Abuse |
|
|
Powerhalo
|
  |
| Joined: 16 Jun 2010 |
| Total Posts: 1504 |
|
|
| 20 Feb 2013 08:03 PM |
I'm confused... Is two scripters fighting over? Because I don't know which one to use D:
Generally's one seems shorter but yet Old's script seems more complex...
I'll try both of them... |
|
|
| Report Abuse |
|
|
Th30racle
|
  |
| Joined: 03 Nov 2012 |
| Total Posts: 214 |
|
| |
|
Th30racle
|
  |
| Joined: 03 Nov 2012 |
| Total Posts: 214 |
|
|
| 20 Feb 2013 08:20 PM |
I just tried it in the command bar in build mode, and the code is actually:
game.Players.ChildAdded(functoin(new) new.CameraMode = "LockedFirstPerson" end |
|
|
| Report Abuse |
|
|
Th30racle
|
  |
| Joined: 03 Nov 2012 |
| Total Posts: 214 |
|
|
| 20 Feb 2013 08:21 PM |
Oops, typo. Fix:
game.Players.ChildAdded(function(new) new.CameraMode = "LockedFirstPerson" end |
|
|
| Report Abuse |
|
|
Powerhalo
|
  |
| Joined: 16 Jun 2010 |
| Total Posts: 1504 |
|
| |
|