The checking when player pressed left or right not working
#2

OnPlayerKeyStateChange is not called for the movement keys. You would've known if you read the wiki properly:
Quote:
Originally Posted by wiki
This callback is called when the state of any key except the movement keys (up, down, left, right) changes (i.e. are pressed or released).
Use a timer/OnPlayerUpdate instead.
Reply


Messages In This Thread
The checking when player pressed left or right not working - by tal_peretz - 28.04.2011, 07:58
Re: The checking when player pressed left or right not working - by Vince - 28.04.2011, 08:06
Re: The checking when player pressed left or right not working - by iggy1 - 28.04.2011, 08:15
Re: The checking when player pressed left or right not working - by tal_peretz - 28.04.2011, 13:04

Forum Jump:


Users browsing this thread: 3 Guest(s)