ID:143674
 
Code:
mob
proc
Push(obj/O)
if(O.move==1)
O.forced=1
while(O.forced==1)
walk_away(O,src,5,0)
O.forced=0
return
else
src<<"It cant be moved!"


Problem description:well i have it setup to where a moveable object will move away 5 steps from me when i click it... it works but the problem is; when i move near it, it will move away from me again... how do i get that to stop, i tried walk_away(O,O,0,0) but that made it like try to run from itself (warning; dont watch that while your drunk!)

would you please help me?


Use walk(O,0) instead.
In response to Kaiochao2536
awsome, your totaly awsome... thank you ^_^