Playmaker Forum

PlayMaker Feedback => Action Requests => Topic started by: Graham on July 09, 2014, 01:27:39 PM

Title: Play Random Sound
Post by: Graham on July 09, 2014, 01:27:39 PM
Can someone please alter the "Play Random Sound" action to allow drop down selection of an audio clip variable, same functionality as the "Play Sound" action?

Thanks soooo much for the help.
Title: Re: Play Random Sound
Post by: Marsh on July 14, 2014, 10:22:35 AM
Try this:

http://pastebin.com/pVYLdA9k
Title: Re: Play Random Sound
Post by: Graham on July 14, 2014, 11:38:38 AM
Thanks Marsh! Exactly what I needed.
Title: Re: Play Random Sound
Post by: jeanfabre on July 16, 2014, 09:27:54 AM
Hi Marsh.

 Is it a custom action you wrote?

 Maybe I can put it on the ecosystem if you want?

Bye,

 Jean
Title: Re: Play Random Sound
Post by: Marsh on July 17, 2014, 07:29:59 AM
It is just taking the existing action and modifying it slightly. You can if you wish.
Title: Re: Play Random Sound
Post by: jeanfabre on July 18, 2014, 07:55:15 AM
Hi,

 Ok, it's on the ecosystem, but I renamed it PlayRandomSound2 to not conflict with the official one.

 Thanks for that :)

 Bye,

 Jean
Title: Re: Play Random Sound
Post by: djaydino on December 22, 2014, 04:03:45 AM
added a repeat / no repeat setting on it
Title: Re: Play Random Sound
Post by: PolyMad on October 19, 2021, 05:49:00 AM
I put it here: it would be nice if this action would allow to play the sound on the Owner object, so that music could be played and brought around with the player.
At the moment, one has to work with a normal array. Not a big issue uh, did that in 2 minutes, but it would facilitate.