Quote:
Originally Posted by DustyPorViva
Well, the problem is onKeypressed will repeat while the button is held down(much like holding a key down like thissssssssss), so it won't only be called once. That script makes it so it will only work when the key is first pressed, and won't work until it's released.
|
hmm, I see what you mean, but now I see that they should be this.
as if when you hold down the key, it will trigger the event on new, and on new etc.. all the time, thus in clearing the temp. variables