ID:179581
 
I am wondering how i could make a person/monster walk in a certain direction and back and forth as well(like silk wizard has it)Thanx
[Edit]
I have been looking over deadrons pathfinding demo/lib and i dont understand how i could make a mob walk back and forth (like in dwo)
Greg wrote:
I am wondering how i could make a person/monster walk in a certain direction and back and forth as well(like silk wizard has it)Thanx
[Edit]
I have been looking over deadrons pathfinding demo/lib and i dont understand how i could make a mob walk back and forth (like in dwo)

mob
monster
New()
walkingpattern()
..()
proc
walkingpattern()
walk_to(src,locate(src.x+4,src.y,src.z),0)
sleep(10)
walk_to(src,locate(src.x-4,src.y,src.z),0)
sleep(10)
walkingpattern()

please note this a simple but poor way to do this, but i wanted to prove how simple your question was...

FIREking
In response to FIREking
When i used that it gave me src.walk_to bad var and new instruction not alowed here
So what can i do to fix that
In response to Greg
i fixed it, look at it again.....
In response to FIREking
Thank you so much fireking you have been a great help to me