Page 1 of 1

Mute at the beginning of the script

Posted: Sat Oct 22, 2011 1:47 pm
by Antha
Here I did not know much about programming and I'm wondering if it is possible to program a mute when you start a script to avoid having two versions sound when playing on two accounts at once.

Re: Mute at the beginning of the script

Posted: Sat Oct 22, 2011 2:07 pm
by rock5

Code: Select all

RoMScript("MasterVolumeSlider_SetValue(0)")

Re: Mute at the beginning of the script

Posted: Sun Oct 23, 2011 5:20 am
by Antha
thank you very much rock5 I guess I just have to start the script?

Re: Mute at the beginning of the script

Posted: Sun Oct 23, 2011 6:34 am
by rock5
You can add that wherever you want to mute the sound. If you want to mute it when the scripts starts, add it to the <onLoad> section of your waypoint file. Or you could add it to your profile <onLoad> section.