ID:174931
 
After I use the Walk_Away instruction on a NPC, how would I get it to stop moving after the player click on it again.

Thank you.
SSChicken wrote:
After I use the Walk_Away instruction on a NPC, how would I get it to stop moving after the player click on it again.

Quoted from the Reference: "A call to a walking function aborts any previous walking function called on Ref. To halt walking, call walk(Ref,0)."

Therefor,

mob/NPC/Click()
walk(src,0)