off Posted January 6, 2014 Posted January 6, 2014 I know how to show the cursor on the screen, but I want also walk. This is not possible? Sorry for the horrible English.
off Posted January 6, 2014 Author Posted January 6, 2014 No, you can't walk with the cursor showing. But there is no way to do this?
.:HyPeX:. Posted January 6, 2014 Posted January 6, 2014 No, you can't walk with the cursor showing. But there is no way to do this? No.
DiSaMe Posted January 6, 2014 Posted January 6, 2014 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.
off Posted January 6, 2014 Author Posted January 6, 2014 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.
myonlake Posted January 7, 2014 Posted January 7, 2014 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.
Castillo Posted January 7, 2014 Posted January 7, 2014 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.
off Posted January 8, 2014 Author Posted January 8, 2014 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?
Castillo Posted January 8, 2014 Posted January 8, 2014 How to do what? moving camera with the cursor shown?
Dealman Posted January 8, 2014 Posted January 8, 2014 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.
off Posted January 8, 2014 Author Posted January 8, 2014 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now