Login / Registrieren
DE EN FR ES IT CZ
Zurück Nach oben

stop ALL currently playing sound

  • #1, by andy-rinaldi 12 years ago Zitieren
    Hi,
    I would stop ALL currently playing sound but not the background music. How can I do it?
    Thanks.
  • #2, by afrlme 12 years ago Zitieren
    not sure about actually stopping them from playing but you could simply mute sound fx & voice with a couple lines of lua script.
    setVolume(eSoundVolume, 0)
    setVolume(eSpeechVolume, 0)
    

    I recommend taking a look at my global mute/restore sound scripts, which can be found here. It mutes & restores everything mind.
  • #3, by andy-rinaldi 12 years ago Zitieren
    I should stop all voices and start a new voice but I don't know when finish the first voice, In my case, I can't use the mute option...
    However, I'll take a look at your script.
    I'm waiting for your lua tutorials in youtube... wink
  • #4, by afrlme 12 years ago Zitieren
    I'm a bit too busy at the minute for that. Settling in here, getting around to answering peoples messages, threads & emails etc & am awaiting on news of a bit of freelance development work.
  • #5, by andy-rinaldi 12 years ago Zitieren
    Don't worry man, I was joking. smile