Draekin
|
  |
| Joined: 25 Jan 2012 |
| Total Posts: 208 |
|
|
| 15 May 2017 11:55 PM |
So, I've made an ADS (Aim Down Sight) function then when the player right clicks, it goes to ADS position, and I made it so that it can only work when in first person.
Now what I want to do next is make the character to go automatically to first person when the player is outside first person and the player right clicks. How do you do this? I'm new to camera manipulation and I don't know what function is used to achieve that.
Thanks! |
|
|
| Report Abuse |
|
|
|
| 16 May 2017 12:01 AM |
its a property of the player
first personlocked
im a mlg |
|
|
| Report Abuse |
|
|
Draekin
|
  |
| Joined: 25 Jan 2012 |
| Total Posts: 208 |
|
|
| 16 May 2017 12:04 AM |
Oh, thanks! I didn't notice that. So I'll just have to add a loop function so that it keeps zooming in until first person.
Thanks again. |
|
|
| Report Abuse |
|
|
|
| 16 May 2017 12:05 AM |
lol wot
just set it to true when aimed in
false when right mouse released
im a mlg |
|
|
| Report Abuse |
|
|
|
| 16 May 2017 03:30 AM |
What's the use of that? CameraMode = "LockFirstPerson"
R$30,911 | aka CyanSparkleTime \ Evercyan \ Sparklexity |
|
|
| Report Abuse |
|
|
|
| 16 May 2017 03:50 AM |
u can look at TurboFusion guns
the gun kit has ADS and the guns are made specifically to learn from
https://www.roblox.com/library/185490628/Gun-Kit-v0-0-3-V4-in-progress
|
|
|
| Report Abuse |
|
|
|
| 16 May 2017 08:04 PM |
ur beter off startin fom scratch
im a mlg |
|
|
| Report Abuse |
|
|
Draekin
|
  |
| Joined: 25 Jan 2012 |
| Total Posts: 208 |
|
|
| 16 May 2017 11:40 PM |
| Well, what I wanted to do was add an effect that would seem like you're transitioning from third person to first person. I don't want it to instantly to shift to first person. |
|
|
| Report Abuse |
|
|
|
| 17 May 2017 06:49 PM |
that's exactly why i gave you the link to the TurboFusion kit
it has a zoom-in/zoom-out transition between 3rd and 1st person
just look at the script
|
|
|
| Report Abuse |
|
|
|
| 17 May 2017 09:04 PM |
This is actually fairly simple. Simply do: game.Players.LocalPlayer.CameraMode = LockFirstPerson This is for when your player is aiming down the sights. When the player is exiting the sights do: game.Players.LocalPlayer.CameraMode = Classic
|
|
|
| Report Abuse |
|
|
|
| 17 May 2017 09:23 PM |
^^ that guy didn't read the post
|
|
|
| Report Abuse |
|
|
|
| 18 May 2017 03:56 AM |
Ok, try changing the POV of the camera for the effect?
Like zoom in a lot then go first person
R$0 | aka CyanSparkleTime \ Evercyan \ Sparklexity |
|
|
| Report Abuse |
|
|
|
| 18 May 2017 03:57 AM |
Ok, try changing the POV of the camera for the effect?
Like zoom in a lot then go first person
R$0 | aka CyanSparkleTime \ Evercyan \ Sparklexity
R$0 | aka CyanSparkleTime \ Evercyan \ Sparklexity |
|
|
| Report Abuse |
|
|