home *** CD-ROM | disk | FTP | other *** search
- thistX = getProperty("/crab1", _X);
- thistY = getProperty("/crab1", _Y);
- sptX = getProperty("/light", _X);
- sptY = getProperty("/light", _Y);
- diftX = thistX - sptX;
- diftY = thistY - sptY;
- xtStp = diftX / "20";
- ytStp = diftY / "20";
- setProperty("/light", _X, sptX + xtStp);
- setProperty("/light", _Y, sptY + ytStp);
- thisYe = getProperty("/light", _Y);
-