home *** CD-ROM | disk | FTP | other *** search
- thisX = getProperty("/p", _X);
- thisY = getProperty("/p", _Y);
- spX = getProperty("/bugwalk", _X);
- spY = getProperty("/bugwalk", _Y);
- difX = thisX - spX;
- difY = thisY - spY;
- xStp = difX / "2";
- yStp = difY / "2";
- setProperty("/bugwalk", _X, spX + xStp);
- setProperty("/bugwalk", _Y, spY + yStp);
-