i was wondering if there was any way to to tell a unit to walk in the x, -x, y or -y directions without placing locations on every edge of a terrain grid and telling units to move to them
http://www.staredit.net/index.php?tutorial=137
You can attempt to create a mobile grid around a unit, but it is very difficult.
There's no move to location with (x,y) offset trigger though.
i dont think i could make a mobile grid
but i did make something like it, where a unit would always be moving to one location and when it reached certain spots, the location would move the farthest in the x, -x, y or -y direction it could and the unit will move in that direction, except my grid is 5 x 11 and it would take a while for every possibility to be covered (maybe i should make the gird smaller)
along all sides of the map make a line of units.
For ane example make burrowed zerglings along the top and right and burrowed drones along the bottom and left.
Then what you do is center two locations on your unit one is The Width of the Map x 1 and the other is The Height of the Map x 1.
Then if you want your unit to upwards center a small 1x1 location on Zerglings @ the Vertical location then order your unit to move there. As for how far he walks you can make it timmed.
There is another method without too much work where you could stop him after he reaches a location X sqaures away but i'm not going to try to explain that.