One way would be this, if you reserved sound channel 3 for only footsteps at this time:
on keyDown --place in a movie script
if the keyPressed=126 then
if sound(3).status=0 then --if it's idle
sound(3).play("footstep")
end if
end if
end
Charlie Fiskeaux II
Media Designer
The Creative Group
www.cre8tivegroup.com
859/858-9054 x29
cell: 859/312-3883
----- Original Message -----
From: Kevin McCarthy
To: [EMAIL PROTECTED]
Sent: Monday, May 06, 2002 11:42 AM
Subject: <lingo-l> need help with sound ?
Hello all,
I have a wav sound of footsteps which is about 2 secs long, I am
currently using :
on exitFrame me
go to the frame
if keypressed(126) then
puppetsound 3,"footstep"
to call the sound from the cast when the key press, but because the key
press is happening all the time, it's re-triggering it constantly and
therefore you can't hear the sound played in full, and then obviously
the other side to his is when the key is not being presses it is not
playing Has anyone got any ideas on how I might be able to get around
this problem.
Regards
-KEV-
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi To post messages to the list, email
[EMAIL PROTECTED]
(Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with
programming
Lingo. Thanks!]
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi To post messages to the list, email
[EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for
learning and helping with programming Lingo. Thanks!]