View Single Post
  #3  
Old 05-31-2003, 02:47 PM
Ningnong Ningnong is offline
Registered User
Ningnong's Avatar
Join Date: Nov 2002
Location: < -- way
Posts: 262
Ningnong is on a distinguished road
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
__________________
Former Global Scripting Team Member


Reply With Quote