Wintermute Engine Forum

Wintermute Engine => Technical forum => Topic started by: Adventureforall on May 29, 2003, 09:12:02 PM

Title: Problem playing wav file
Post by: Adventureforall on May 29, 2003, 09:12:02 PM
Hallo,

I'm trying to let my actor speaks so i tried the following in the item script :

actor.Talk("That knife looks interresting", "scene1_knifeintressting.wav);

Did i do something wrong, or did i forget something.

Can any one help me please ??
Title: Re:Problem playing wav file
Post by: odnorf on May 29, 2003, 09:58:42 PM
You have to use the exact path for the wav file. If, for example, you have the wav file in a /speech directory then the correct code should be:

actor.Talk("That knife looks interesting", "speech/scene1_knifeinteresting.wav");
Title: Re:Problem playing wav file
Post by: Adventureforall on May 29, 2003, 10:14:13 PM
Oke, the error is gone, but i still hear no speech ??
Title: Re:Problem playing wav file
Post by: Adventureforall on May 29, 2003, 10:19:17 PM
I've solved the problem, thanx for your help