;D Hi all ! How can i make to play a sound when the main character say a prashe ? i tried to put PlaySound(x) ; in the script topic editr, but it 'doesn't work ! I want to play aplauses when the main character says something . Thanks in advance ::)
I think "phrase" is the word you're looking for. ;)
Do you mean you want to play a sound from within a dialog, from the dialog script?
Then use the "play-sound" command.
See the manual for more commands you can use (Tutorial -> Setting up the game -> Conversations).
Name the sound file soundX.wav/mp3/ogg/whatever where X is the number of the sound (without padding zeroes) and put it in the game folder. It will be compiled into the game exe when you save your game.
Oh man Ã, :o ! thank u very much ! ! Ã, ;D
You're welcome. :)
I highly recommend reading the AGS Beginners FAQ (http://americangirlscouts.org/agswiki/Category:AGS_Beginners%27_FAQ) too, very useful.
Edit: Updated link