//
PanToLocation(locate(2,2,1),locate(40,20,1))
//
proc/PanToLocation(start,end)//used to pan to another location
var/obj/J=new(start)
Player.client.eye=J
walk_to(J,end)
Problem description:
I am trying to have the camera follow and object around the map, but if the object is out of range of the player, it wont move at all. I already set the perspective to EYE, but it does nothing. Can someone please help me fix this problem?
DM Reference:
Instead, you could use walk_towards() if it doesn't have the same limitation, otherwise you'll have to write your own.