ID:138774
 
"Move Ref on a path to Trg continuously, taking obstacles into account. Each step will be preceded by Lag time of inactivity. If Ref is within Min steps of Trg, no action will be taken. This is also true if the target is too far away (more than twice world.view steps)." (F1 reference)

When I stick an object directly in the path of the thing that is supposed to be moving, it does not take obstacles into account. It just keeps trying to walk through dense objects.

Numbered Steps to Reproduce Problem:
1. Stick an object in the direct back of something doing walk_to()


Code Snippet (if applicable) to Reproduce Problem:
                ToCastle() // Returns miner to Castle to offload
for(var/obj/Buildings/Castle/O in world)
src.Target = O
walk_to(src,src.Target,0,3)


The easy fix is to just not have something in the way. Any idea on what's up?

(I didn't want to post it as a bug report until someone either told me it was my stupidity causing it to not work or that it's really a bug)

Lugia319 wrote:
When I stick an object directly in the path of the thing that is supposed to be moving, it does not take obstacles into account. It just keeps trying to walk through dense objects.

Hi.
http://www.byond.com/members/ BYONDHelp?command=view_tracker_issue&tracker_issue=3582