Page 1 of 1

Turn off Voices?

Posted: Fri Jan 15, 2021 12:52 am
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!

Re: Turn off Voices?

Posted: Fri Jan 15, 2021 8:38 am
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.