home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Creative Review 28
/
Creative-Review-CD-ROM-28.iso
/
pc
/
kungfu
/
style.dir
/
00007_Script_7
< prev
next >
Wrap
Text File
|
1997-08-08
|
728b
|
44 lines
-- sound
global gSoundtime
global gNextSound
global gLastSound
on hinitSound
set the idleLoadMode to 2
set gSoundtime = random(60 * 4) + (60 * 2) + the timer
set gLastSound = random(8) + 111
set gNextSound = random(8) + 111
set gSoundtime = random(60 * 4) + (60 * 2) + the timer
preload gNextSound
end
on hUpdateSound
--if the timer > gSoundtime then
if soundbusy (1) then return
sound Stop 1
puppetsound 1,gNextSound
set gLastSound = gNextSound
set gNextSound = random(39) + 111
preloadmember gNextSound
Unloadmember 111,150
set gSoundtime = random(60 * 4) + (60 * 2) + the timer
-- end if
end