Detect w
#6

Quote:

Movement keys do not trigger OnPlayerKeyStateChange. If you want to check you need OnPlayerUpdate. However, you cannot detect the 'W' key specifically, you can only detect KEY_UP. KEY_UP happens to be bound to Z in my game. (Azerty keyboard).

I only wanted to detect default of KEY_UP - W.

Quote:

Use GetPlayerKeys. UpDown part will detect W and S keys. Using OnPlayerKeyStateChange won't work as it doesn't register directional keys

How could I combinate UpDown, LeftRight part if I want to detect two diffrent keys while holding?

Anyways I want to detect when player is using W to move/walk/slow run.
Reply


Messages In This Thread
Detect w - by Harry_F. - 07.08.2013, 15:41
Re: Detect w - by StuartD - 07.08.2013, 15:48
Re: Detect w - by Harry_F. - 07.08.2013, 15:56
Re: Detect w - by Vince - 07.08.2013, 16:38
Re: Detect w - by FUDDS - 07.08.2013, 16:39
Re: Detect w - by Harry_F. - 07.08.2013, 18:36
Re: Detect w - by Harry_F. - 07.08.2013, 20:11
Re: Detect w - by Harry_F. - 08.08.2013, 06:29
Re: Detect w - by Vince - 08.08.2013, 09:22
Re: Detect w - by Harry_F. - 08.08.2013, 10:06

Forum Jump:


Users browsing this thread: 4 Guest(s)