Jump to content

[HELP] Show cursor in screen, but...


off

Recommended Posts

Posted

I know how to show the cursor on the screen, but I want also walk. This is not possible?

Sorry for the horrible English.

i5 7400 3.0GHZ
B150M-GAMING 3 DDR4
HyperX FURY 8GB 2133Mhz DDR4
Galax GTX 1060 6GB OC

Posted

No, you can't walk with the cursor showing.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted
No, you can't walk with the cursor showing.

But there is no way to do this?

i5 7400 3.0GHZ
B150M-GAMING 3 DDR4
HyperX FURY 8GB 2133Mhz DDR4
Galax GTX 1060 6GB OC

Posted
No, you can't walk with the cursor showing.

But there is no way to do this?

No.

My ingame nick is ~HyPeX~

BF3 Gamemode Progress: ~30% - Currently working on AI & MapManager

gKhdyRJ.png

Posted
showCursor 

toggleControls: A boolean value determining whether to disable controls whilst the cursor is showing. true implies controls are disabled, false implies controls remain enabled.

And even if there was no such argument, there's still a function setControlState which can make you walk.

-

Posted
showCursor 

toggleControls: A boolean value determining whether to disable controls whilst the cursor is showing. true implies controls are disabled, false implies controls remain enabled.

And even if there was no such argument, there's still a function setControlState which can make you walk.

I love you man! But how do I do that? It does not seem so simple.

Obs: I'm still thrilled with your RPG.

i5 7400 3.0GHZ
B150M-GAMING 3 DDR4
HyperX FURY 8GB 2133Mhz DDR4
Galax GTX 1060 6GB OC

Posted

It's just better to make your own cursor system for that. Really going for ped states and syncing that and then all the cursor stuff, ugh, I wouldn't even bother.

If I helped you, please click the like button on the right ;) Thanks!

Posted

What CrystalMV posted about toggleControls argument works, but you can't move your camera with the mouse, obviously.

You can still walk, punch and so on.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted
What CrystalMV posted about toggleControls argument works, but you can't move your camera with the mouse, obviously.

You can still walk, punch and so on.

Will be enough. Any idea how to do this?

i5 7400 3.0GHZ
B150M-GAMING 3 DDR4
HyperX FURY 8GB 2133Mhz DDR4
Galax GTX 1060 6GB OC

Posted

How to do what? moving camera with the cursor shown?

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

This should do it for client-side;

showCursor(true, false) 

First boolean is for whether to show or hide the cursor itself. Second boolean is whether you want to enable or disable locked controls while cursor is active.

If I help you in a thread and you need further assistance, please don't PM me - use the thread you created instead. This way everyone on the forum can take advantage of it.

Posted
How to do what? moving camera with the cursor shown?

No, just wanna walk with the cursor shown.

This should do it for client-side;
showCursor(true, false) 

First boolean is for whether to show or hide the cursor itself. Second boolean is whether you want to enable or disable locked controls while cursor is active.

Thanks, worked. But it has a problem when a window (GUI) is open is no longer possible to walk.

i5 7400 3.0GHZ
B150M-GAMING 3 DDR4
HyperX FURY 8GB 2133Mhz DDR4
Galax GTX 1060 6GB OC

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...