That's a good question. I don't know. Probably, but I can't say for sure.
Either way, for completeness, here's the moveLinkTowards function:
Note that the first parameter is missing; there's only one Link (currently).Code:void moveLinkTowards(int x, int y, int speed) { int angle = findAngle(Link->X, Link->Y, x, y); float dx = RadianSin(angle) * speed; float dy = RadianCos(angle) * speed; Link->X += dx; Link->Y += dy; }
EDIT: For other variations on this script, ask this guy