Jump to content

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


off

Recommended Posts

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.

Link to comment
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.

Link to comment
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.

Link to comment

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...