Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Klytos on Sat 23/10/2004 11:28:09

Title: Narrator (SOLVED)
Post by: Klytos on Sat 23/10/2004 11:28:09
Quick question, I'm having a bit of a play with my new microphone and I wanted to know if there was a way to have just ordinary text boxes have audio speech attached to them. I've figured out the whole character talking thing, but I want to do a voice for hte dialog aka: John Rhys-Davies in QFG4.
Title: Re: Narrator
Post by: Ashen on Sat 23/10/2004 13:07:43
This is hidden away in the manual:
Quote
game.narrator_speech 

Which character ID to use for voice speech within Display() command. Default initial player character. You can also use -1 which uses 'NARR' prefix - special narrator character. 
So, pass it as -1 in game_start, and make a bunch of NARRx.wav files.
Title: Re: Narrator
Post by: strazer on Mon 25/10/2004 01:09:18
The special narrator character also has a (undocumented) name: NARRATOR.

So you can do:
game.narrator_speech = NARRATOR;