View Single Post
  #13  
Old 11-24-2003, 11:07 AM
Kroeg's Avatar
Kroeg
Hill Giant
 
Join Date: Oct 2003
Posts: 241
Default

well, that was only an example, sorry I should have been more clear. You typically need to start with a high value to be safe, such as 10000 or so.

Target npc

Stand dead near npc

Type #grid add 10000 2 2

(without moving from that spot) Type #wp add 10000 10 1

Move in the direction you want the npc to go, one space at a time.
Each step, type #wp add 10000 10 2, #wp add 10000 10 3, #wp add 10000 10 4, #wp add 10000 10 5 (all the way to #wp add 10000 10 50)

Once you have all the movement you want, turn around and face the npc (making sure the npc is in sight) and type #gassign 10000

Now type #repop

Keep track of the numbers you use (I jot them in excel.. it's nice to know what npc does what).

To add the next movement, target the next npc.

Then repeat the step, but incriment the number one value;
#grid add 10001 2 2
#wp add 10001 10 1
#wp add 10001 10 2
#wp ... etc
#gassign 10001
(see the convention? )

This sets up "random" movement, which is typically used for wandering. I couldn't tell you too much about named npc movement (with definable pauses, timed movements in towns, etc), as it's really tricky and not fully bug-free. If you follow the above steps exactly, you will at least have one wandering npc, and thus have a foundation to build from good luck.
Reply With Quote