home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 2000 February / DPPCPRO0200.ISO / ps10.dxr / Scripts_55.ls < prev    next >
Encoding:
Text File  |  1999-10-26  |  526 b   |  21 lines

  1. global gVoiceFlag, giCurrentTrackNumber, gVOPlaying
  2.  
  3. on exitFrame
  4.   if gVOPlaying then
  5.     nothing()
  6.   else
  7.     if not gVoiceFlag then
  8.       puppetSound(1, "voice1")
  9.       gVOPlaying = 1
  10.     else
  11.       if not soundBusy(1) then
  12.         puppetSound(1, "track" & giCurrentTrackNumber)
  13.       end if
  14.       repeat with i = 1 to 10
  15.         set the member of sprite (23 + i) to "free." & i
  16.       end repeat
  17.       set the member of sprite (23 + giCurrentTrackNumber) to "free." & giCurrentTrackNumber & " roll"
  18.     end if
  19.   end if
  20. end
  21.