Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: YotamElal on Wed 02/03/2005 13:27:52

Title: displayspeechbackground with speech sound in background
Post by: YotamElal on Wed 02/03/2005 13:27:52
displayspeechbackground with speech sound in background

displayspeechbackground doesn't play the speech sound???
problem.

I want someone to say somthing every 60 seconds but I don't want to wait
...?
Title: Re: displayspeechbackground with speech sound in background
Post by: Radiant on Wed 02/03/2005 16:55:16
Try SetTimer and IsTimerExpired.
(both in your rep_ex function)
Title: Re: displayspeechbackground with speech sound in background
Post by: Ubel on Wed 02/03/2005 17:12:42
Quote from: YotamElal on Wed 02/03/2005 13:27:52displayspeechbackground doesn't play the speech sound???

Use the PlaySound command instead.
Title: SOLVED :o)
Post by: YotamElal on Thu 03/03/2005 06:01:57
Pablo:
Thankyou
I can't us playsound instead beacueas I want the speech dialog.
So I used them both and it works fine!

DisplayBackgroundSpeech Doesn't Play The Speech Sound.
So all you need to do is PlaySound right after it.


Radiant:
I didn't have a problem with making a loop.
I had a problem of :
displayspeechbackground with speech sound in background
...


Title: Re: displayspeechbackground with speech sound in background
Post by: SSH on Thu 03/03/2005 16:52:24
I generally use:

if (IsSpeechVoxAvailable()) PlaySound(whatever);

so that the background speehc goes away when the vox files does
Title: THNX
Post by: YotamElal on Fri 04/03/2005 05:52:20
THNX THats cool..