KeyStateChange update
#3

Quote:
Originally Posted by Misiur
Посмотреть сообщение
Yup, you need timer though

1. When key gets pressed, start a (repeating) timer to decrease amount of "ammo" left
2. When it gets released, or there is no ammo left, stop the timer.
Could you elaborate on this? As the script inside the function seems to get executed when you release the keys.
Reply


Messages In This Thread
KeyStateChange update - by arjanforgames - 16.04.2015, 18:24
Re: KeyStateChange update - by Misiur - 16.04.2015, 19:04
Re: KeyStateChange update - by arjanforgames - 16.04.2015, 20:04
Re: KeyStateChange update - by Misiur - 16.04.2015, 21:56

Forum Jump:


Users browsing this thread: 2 Guest(s)