|
Post by abhishekwankhede on May 8, 2020 5:26:13 GMT
Hi, I am playing a sound via script using MasterAudio.PlaySoundAndForget("button_click");
If I click on two buttons without much delay, only first button sound is play. But if I click on two buttons with delay, both sounds plays. Until the first sound is playing, the same sound don't play if the same sound is done playing.
Let me know how to fix this.
Thank you in advance.
|
|
|
Post by DarkTonic Dev on May 8, 2020 15:11:04 GMT
|
|
|
Post by abhishekwankhede on May 9, 2020 12:51:05 GMT
Ok got it. Thanks for the quick reply. Really appreciate. Just one question, can't it be automatically handled inside ? I mean I might not know beforehand which sound will play in 'x' succession, like spamming of button click.
|
|
|
Post by DarkTonic Dev on May 9, 2020 17:44:03 GMT
No it cannot. If you don't know, you can add some extra. There's no downside to it. Setting that in advance is how the randomization part works properly and without repeats.
|
|