Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Zoolander on Tue 20/12/2005 14:15:36

Title: Sound effect running twice
Post by: Zoolander on Tue 20/12/2005 14:15:36
I have an animation where I want a sound effect to occur in the middle of it.Ã,  So I put that sound in one of the view frames.Ã,  (14 frames in the animation, the sound is in frame 8).

For some reason, the sound effect will play twice, and I can't figure out why.Ã,  It does it no matter which frame I put it in.Ã, 
Title: Re: Sound effect running twice
Post by: monkey0506 on Tue 20/12/2005 18:15:27
Is it possible that the animation is run more than once?  Could you post the code/interaction editor events you used to animate the character?
Title: Re: Sound effect running twice
Post by: Zoolander on Wed 21/12/2005 03:19:14
I figured out what was wrong.  I had the sound effect scripted into the interaction editor (I don't remember doing that) and I put it into the animation frame as well.   
The result of course was hearing it twice.  It was driving me crazy trying to figure out why.