07.08.2013, 18:36
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). |
Quote:
Use GetPlayerKeys. UpDown part will detect W and S keys. Using OnPlayerKeyStateChange won't work as it doesn't register directional keys |
Anyways I want to detect when player is using W to move/walk/slow run.