Thread: move is a pain!
View Single Post
  #4  
Old 07-26-2004, 09:04 AM
Dach Dach is offline
call me Chad, it's cooler
Dach's Avatar
Join Date: Aug 2002
Posts: 1,899
Dach is on a distinguished road
just use this.dist, that seems to be what I did whenever I used move

Goboom, that's not how it works, exactly. The dx and dy are vector parts, distance variables rather. It's the x distance and y distance the npc needs to move, not it's position. Upon further examination, yours only works because of the typo and the strange numbers you feed it (5 is grabbed out of thin air, you need to have the real distance)
__________________
Scripting Documents:Old Script Documentation-Movement Tutorial
Reply With Quote