Quote:
Originally posted by Ningnong
I hate .05's because you have to just "touch" the key, and you find your self getting your tap right before it works (like its on and of with one normal press)..
|
you can use keypressed also.. but ning, you can also go like this if you wanna use timeout=0.05;
NPC Code:
if (timeout) {
if (keydown(0) && this.k0=0) {
this.k0=1;
playery-=.1;
} elseif (!keydown(0) && this.k0=1) {this.k0=0;}
timeout=0.05;
}
that would get rid of the "touch" and make it for everytime that you press it... or somthing like that =o