Quote:
Originally posted by nyghtGT
even better:
NPC Code:
if (created) {
timeout=0.05;
}
if (timeout) {
for(i=0;i<3;i++) {
if (keydown(i)) {
this.move++;
} else {
this.move=0;
}
}
}
|
No your script does not work as you have to check all vars at once or you will get a value other then 0 while your moving.