Detecting updown/leftright keys
#2

Quote:
Originally Posted by ******
View Post
You still need to use OnPlayerUpdate, but only use the data when the key state changes. It will be called multiple times as long as the key is held down, which you don't want.
What about setting a variable for a player, and then the key-check will only be called if the variable has the correct value.
Reply


Messages In This Thread
Detecting updown/leftright keys - by oliverrud - 16.11.2011, 16:29
Re: Detecting updown/leftright keys - by Biesmen - 16.11.2011, 17:23
Re: Detecting updown/leftright keys - by oliverrud - 16.11.2011, 17:36
Re: Detecting updown/leftright keys - by SmiT - 16.11.2011, 17:45
Re: Detecting updown/leftright keys - by oliverrud - 16.11.2011, 17:46
Re: Detecting updown/leftright keys - by MP2 - 16.11.2011, 18:04

Forum Jump:


Users browsing this thread: 1 Guest(s)