Quote:
I like to use the x+=1 or y+=1 to slide NPCs around and use variable++ to determine how many spaces it slides.
|
yes, but he meant to move it back AND forwards.
If you didn't use the move command, then you would need to make a time function and set the value of the movement varible.
eg:
x-= this.move;
when the timer is at a certain time, this.move has a minus value, else it has a positive value.
- Thats just another way of doing it.
Since the move command does the job, I'd recommend using that - neat and tidy
