|
| 04 May 2015 01:38 AM |
| I have a gui and I want a player to be able to select something in said gui. The problem is that the mouse is locked in first person and the player can't select anything. Is there a way to prevent this? |
|
|
| Report Abuse |
|
|
Flexes
|
  |
| Joined: 13 Apr 2015 |
| Total Posts: 1584 |
|
|
| 04 May 2015 01:42 AM |
Change the CameraType to 'Track'
Hey there, my name is Flexes. Driving around in my new Lexus. |
|
|
| Report Abuse |
|
|
|
| 04 May 2015 01:44 AM |
@Flex
Is there any other way? |
|
|
| Report Abuse |
|
|
|
| 04 May 2015 03:45 AM |
Button.Modal = true
"My Life is going Good... but..." |
|
|
| Report Abuse |
|
|
|
| 04 May 2015 03:47 AM |
@Kaptiv
I tried that on the textbutton in the gui, but nothing happened. |
|
|
| Report Abuse |
|
|
|
| 04 May 2015 03:51 AM |
Are u using Custom First Person or Default?
"My Life is going Good... but..." |
|
|
| Report Abuse |
|
|
| |
|
|
| 04 May 2015 05:25 AM |
then it should work, unless the button is .Visible == false or maybe something is changed with ur Camera
"My Life is going Good... but..." |
|
|
| Report Abuse |
|
|
|
| 04 May 2015 05:33 AM |
| Nope, the button is visible and the camera hasn't been changed at all. |
|
|
| Report Abuse |
|
|
|
| 04 May 2015 06:33 AM |
strange :/ it should work, or Roblox messed something up...
"My Life is going Good... but..." |
|
|
| Report Abuse |
|
|
|
| 04 May 2015 07:08 AM |
| The entire background should be an invisible TextButton covering the screen with Modal enabled |
|
|
| Report Abuse |
|
|
|
| 04 May 2015 04:50 PM |
@Epic
I did that, but it still locks the mouse cursor in first person. |
|
|
| Report Abuse |
|
|
|
| 04 May 2015 05:37 PM |
| Create a custom one, its much better. |
|
|
| Report Abuse |
|
|
|
| 04 May 2015 05:39 PM |
| http://wiki.roblox.com/index.php?title=API:Class/UserInputService/MouseBehavior |
|
|
| Report Abuse |
|
|
|
| 04 May 2015 05:45 PM |
What do you mean a custom one Crescent?
And I don't know what you mean nQqz |
|
|
| Report Abuse |
|
|
|
| 04 May 2015 05:50 PM |
| Click the link and read the page. |
|
|
| Report Abuse |
|
|
|
| 04 May 2015 06:00 PM |
@nQqz
That's way too complicated for me. |
|
|
| Report Abuse |
|
|
|
| 04 May 2015 06:24 PM |
Alright, I made a video with my problem.
https://youtu.be/svCoU0OCsUo
In the video, I show that 4 textbuttons in a difficulty select GUI I made all have modal set to true, one of them covering the entire screen. This works fine with my other GUIs, however this one GUI still locks the mouse cursor when in first person mode. Although my mouse in the video doesn't show up, the mouse is locked whenever I enter first person, even though the modals in the textbuttons in the GUI are all set to true. Why is it doing this? |
|
|
| Report Abuse |
|
|