What I need is a proc that makes the NPC wander around randomly and when it comes within 4 tiles of a usr it will walk towards him/her. I read the help and looked at a few demos and don't understand each particular line of the proc so I can't modify it.
ID:157317
Apr 1 2010, 10:17 pm
|
|
Equipped with that fundamental knowledge, you can tackle on the quest and if you stumble upon an unknown foe, look up the detailed description in the reference.
On a side-note, you have a rather 'usr unfriendly' (pun intended) misunderstanding on the term usr it would seem from your description.
On a more detailed hint, you likely want to look into looping constructs, functionality to easily find the distance of objects and some way to move an object towards another one.