Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is it possible (W)
Elven Offline
Posting Freak

Posts: 862
Threads: 37
Joined: Aug 2011
Reputation: 26
#1
Is it possible (W)

Is it possible to make so that player can press only w button to move forward Tongue? Others like d, s,a, space and everything else disabled Tongue. Just askin'.

The Interrogation
Chapter 1

My tutorials
08-22-2011, 02:36 AM
Find
Kyle Offline
Posting Freak

Posts: 911
Threads: 36
Joined: Sep 2010
Reputation: 7
#2
RE: Is it possible (W)

It's possible to do if you set block boxes active around the player except from infront and then as the player moves forward, have block boxes behind him get set active. For jumping, I'm pretty sure that there is a script function that can prevent the player for jumping. Tongue

08-22-2011, 02:45 AM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#3
RE: Is it possible (W)

You may be better off disabling the player temporarily, force the user to look in the direction you want them to move and move the player with MovePlayerForward().

Tutorials: From Noob to Pro
08-22-2011, 03:26 AM
Website Find
MegaScience Offline
Member

Posts: 213
Threads: 1
Joined: Aug 2011
Reputation: 2
#4
RE: Is it possible (W)

Yes, it would be easier to script a LookAt and such. I for one use the Arrow Keys to move around, always have. Would be frustrating to remember the primary keys just to move.
08-22-2011, 03:49 AM
Find
Elven Offline
Posting Freak

Posts: 862
Threads: 37
Joined: Aug 2011
Reputation: 26
#5
RE: Is it possible (W)

Hmm ok. I guess I keep as it is right now then (Your Computer method). I just wanted to know that maybe I can change it and make player move, but too much ass to change anyway Tongue

The Interrogation
Chapter 1

My tutorials
(This post was last modified: 08-22-2011, 10:03 AM by Elven.)
08-22-2011, 10:03 AM
Find




Users browsing this thread: 1 Guest(s)