Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: MoodyBlues on Thu 23/04/2009 02:33:24

Title: Getting the Voice Mode?
Post by: MoodyBlues on Thu 23/04/2009 02:33:24
I bet this is a noobish question, but I've checked the forums and the manual and haven't found an answer to this.

You can set the voice mode like this:

SetVoiceMode(eSpeechVoiceAndText);

However, how do you get the voice mode?
Title: Re: Getting the Voice Mode?
Post by: Gilbert on Thu 23/04/2009 02:54:13
Hmmm there doesn't seem to be a way.

You may use a global variable to keep this setting.
Title: Re: Getting the Voice Mode?
Post by: Trent R on Thu 23/04/2009 05:06:37
To expand on Gilbot's suggestion, I'd say to set both in game_start, and then use a custom function that sets the global var and calls SetVoiceMode().

~Trent