Turn off Voices?

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Hereder
Posts: 76
Joined: Mon Dec 21, 2020 2:53 am

Turn off Voices?

Post by Hereder »

Hi All!
I wonder if there is an option to turn off the voices?
What I mean is, I want to give the Player the option to have voices turned on/off.
So I want the Player to be able to Turn them off via my own Startmenu?

Cheers!
User avatar
Tony Li
Posts: 22051
Joined: Thu Jul 18, 2013 1:27 pm

Re: Turn off Voices?

Post by Tony Li »

Hi,

Yes. Set the Dialogue System variable "Mute" to true:

Code: Select all

DialogueLua.SetVariable("Mute", true);
If this variable is false or doesn't exist, audio sequencer commands will not be muted. If the variable is true, audio sequencer commands will be muted.
Post Reply