home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 August / CHIP_CD_1998_08_PL.iso / Software / prezent / armaged / FILES / MENU.DXR / 00339_targetScript.ls < prev    next >
Encoding:
Text File  |  1998-05-26  |  329 b   |  14 lines

  1. property ancestor
  2.  
  3. on new me, tGraphic
  4.   set ancestor to new(script "spriteGenerator")
  5.   append(the actorList, me)
  6.   appear(me, point(-500, -500), tGraphic, 255, 0, 36, 100)
  7.   return me
  8. end
  9.  
  10. on stepFrame me
  11.   set the locH of sprite the spriteNum of me to the mouseH
  12.   set the locV of sprite the spriteNum of me to the mouseV
  13. end
  14.