Playmaker Forum

PlayMaker Updates & Downloads => Share New Actions => Topic started by: mdotstrange on September 28, 2016, 07:27:07 AM

Title: Play Random Audio From Array
Post by: mdotstrange on September 28, 2016, 07:27:07 AM
(http://i.imgur.com/iOQiZa5.png)
Will randomly play audio clips from a native Playmaker Array- make sure the array variable type is set to Object- then UnityEngine/AudioClip

I made this to play footsteps in my game- hope its useful  :)

Its on Ecosystem and Snipt https://snipt.net/raw/865df3651da9bd4b42f670f0b44c3462/?nice (https://snipt.net/raw/865df3651da9bd4b42f670f0b44c3462/?nice)
Title: Re: Play Random Audio From Array
Post by: dudebxl on September 28, 2016, 11:24:34 AM
cool thanks
Title: Re: Play Random Audio From Array
Post by: iEpic on January 25, 2017, 05:28:22 PM
i'm not finding it in the ecosystem and the link you gave is bad.

BTW I love how you named your audio array "daClips"
Title: Re: Play Random Audio From Array
Post by: mdotstrange on January 25, 2017, 08:28:14 PM
I just posted it in another thread for someone http://hutonggames.com/playmakerforum/index.php?topic=14217.msg65978;topicseen#msg65978 (http://hutonggames.com/playmakerforum/index.php?topic=14217.msg65978;topicseen#msg65978)