x.x This command is STRANGE >:O
move dx,dy,time,options
time = speed / dist;
Well in graal thats not the case, something is wrong..
NPC Code:
if (created) {
this.speed = 2;
this.options = 1;
Move();
}
function Move() {
dx = int(random(-5,5)*2)/2;
dy = int(random(-5,5)*2)/2;
dist = (dx*dx+dy*dy/)^0.5;
time = this.speed/dist;
move dx,dy,time,this.options;
sleep time+0.1;
Move();
}
Nice little snippet that doesnt work properly, it either goes really slow or really fast, and it has confused Chrisz. I want the speed to work like... normal?? x.x;