home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 February / CHIP_2_98.iso / software / testsoft / muzea / exemusei / shared.cst / 00935_Script_Rnat < prev    next >
Text File  |  1987-04-12  |  799b  |  29 lines

  1. on Rnat R
  2.   cursore
  3.   put 17 into A
  4.   put 31*(R-23)+58 into vA
  5.   put 18 into B
  6.   put 31*(R-23)+50 into vB
  7.   put R-20 into P
  8.   put the name of cast the castNum of sprite P into cB
  9.   put chars(cB, 1, (length(cB)-3)) & "txt" into cB
  10.   set the castNum of sprite B to the number of cast cB
  11.   set the locV of sprite A = vA
  12.   set the locV of sprite B = vB
  13.   updatestage
  14.   repeat while rollover(R)
  15.     if the mousedown then
  16.       put the locH of sprite P into hP
  17.       put the blend of sprite P into bP
  18.       set the locH of sprite A = 1000+the locH of sprite A
  19.       updatestage
  20.       repeat with k = 1 to 30
  21.         set the locH of sprite P = hP+k*20
  22.         set the blend of sprite P = bP-k*3
  23.         updatestage
  24.       end repeat
  25.       exit repeat
  26.     end if
  27.   end repeat
  28. end
  29.