nicko
New Member
Posts: 8
Posts: 8
|
Post by nicko on Jan 15, 2015 20:02:51 GMT
Hi
Hi I use master Audio recently and I would like to Unmute a sound After Mute him.
My character skill Action : My character Done one skill and we can activate a second one when we want, but I don't need sound of the first, I would like to disable him and reactivate him when the cooldown is ok. This is the same skill, protective sphere appear and absorb damage and after we can return the attack against the enemy.
In my case The sound of the first skill is muting when the second appears, but afterwars he's mute all the time... I use the coding method :
protected override void OnPreCast() { MasterAudio.MuteGroup("Nano_Cast_Sphere_04"); MasterAudio.PlaySound3DAtTransformAndForget("Nano_Cast_ReturnAtt_06", transform);
If you can help me I'll be happy !
By the way Thx for the tutorial !
|
|
nicko
New Member
Posts: 8
Posts: 8
|
Post by nicko on Jan 15, 2015 20:54:35 GMT
It's Ok I Found the problem Istead Of MuteGroupe I Used : MasterAudio.StopSoundGroupOfTransform (transform,"") Not mentionned on the documentation.
Cheers !
|
|
|
Post by DarkTonic Dev on Jan 15, 2015 23:46:38 GMT
It's Ok I Found the problem Istead Of MuteGroupe I Used : MasterAudio.StopSoundGroupOfTransform (transform,"") Not mentionned on the documentation. Cheers ! It's not mentioned in the readme, but it's on the API website. You should take a look there to see what all you can do. There's a lot of things that aren't in the readme: dl.dropboxusercontent.com/u/40293802/DarkTonic/MasterAudio_API/Index.html
|
|