Have a loop which runs every, lets say, .05 seconds. For the action move the desired unit a little bit towards the desired point. This is more commonly referred to as knock backs, and are much easier and efficient to make via Jass. If you don't know Jass there are Jass systems that are GUI-user-friendly that will allow you to use knock backs.