atom/Click(location,control,params)
params = params2list(params)
world.log << "[location] :: [params["icon-x"]],[params["icon-y"]]"
walk_to(usr,new/target(location,params["icon-x"],params["icon-y"]))
target
parent_type = /atom/movable
New(atom/LOC,X,Y)
loc = LOC
step_x = X
step_y = Y
..()
Problem description:
I'd like to make the user walk to a clicked location precisely to the very pixel. Using the walk_to proc would be preferable, though I've played around with little equations of my own to no avail. Insight?
Note: I made target because walk_to simply brings you to the location you click, while I want you to move to the pixel you click.
And I don't think anyone has put any effort into making one, or it might be to difficult. Dunno.