moveTowardLine

moveTowardLine(number cell1, number cell2, [number mp]) → integer mp
Moves your entity toward the line defined by the two cells cell1 and cell2, using at most mp movement points.

Moves your entity closer to a line defined by two cells cell1 and cell2, using at most mp movement points.

Parameters
Return